[
https://issues.apache.org/jira/browse/JCR-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552678
]
Marcel Reutegger commented on JCR-1271:
---
Well, as with any synchronization it will slow down execution. But if I
[
https://issues.apache.org/jira/browse/JCR-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552682
]
Ard Schrijvers commented on JCR-1271:
-
:-)
True, but if it is like a big difference, other options might be
[
https://issues.apache.org/jira/browse/JCR-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552701
]
Marcel Reutegger commented on JCR-1271:
---
AFAICS, the difference is minimal. Running times for tests only differ
[
https://issues.apache.org/jira/browse/JCR-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552718
]
Jukka Zitting commented on JCR-1271:
Could we not fix the problem at its source instead of in a synchronization
[
https://issues.apache.org/jira/browse/JCR-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552746
]
Marcel Reutegger commented on JCR-1271:
---
That would be an alternative, but as mentioned before there are use
[
https://issues.apache.org/jira/browse/JCR-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552755
]
Jukka Zitting commented on JCR-1271:
Our codebase is already pretty complex, so avoiding an extra wrapper class
[
https://issues.apache.org/jira/browse/JCR-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551834
]
Ard Schrijvers commented on JCR-1271:
-
Wouldn't be enough to replace
public ItemStateReferenceMap() {
[
https://issues.apache.org/jira/browse/JCR-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551845
]
Ard Schrijvers commented on JCR-1271:
-
Okay.
Do you know/experience if you changes regarding synchronized make
[
https://issues.apache.org/jira/browse/JCR-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551841
]
Marcel Reutegger commented on JCR-1271:
---
This will turn ItemStateReferenceMap into a synchonized map, which is