SLING-2535 wrapped the reference counter in a dedicated synchronised block to ensure that all access to the counter is safe. I think this will be safer than calling from within synchronised blocks as it doesnt rely on the caller remembering the methods need to be single threaded.

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1404087 13f79535-47bb-0310-9956-ffa450edef68
1 file changed
tree: cb69003d9979a042b522e6d8ed021a4c543a9b2b
  1. src/
  2. pom.xml
  3. README.txt