EHC ❯ SelfPopulatingCache locking fails in 2.3
-
Bug
-
Status: Closed
-
2 Major
-
Resolution: Duplicate
-
ehcache-core
-
-
drb
-
Reporter: edalquis
-
January 19, 2011
-
0
-
Watchers: 0
-
July 27, 2012
-
January 20, 2011
Attachments
Description
SelfPopulatingCache does not provide adequate synchronization or memory consistency in ehcache 2.3. I’m not really sure where the problem is but if you use the attached project and run “mvn test” it should fail sometimes, on my dual-core machine I see it failing about 75% of the time. If you go into the pom.xml and change the ehcache version to 2.2.0 from 2.3.1 the test always passes.
Comments
Steve Harris 2011-01-20
Alexander Snaps 2011-01-20
Is the same as EHC-805 Which is fixed, but hasn’t been back ported to the the 2.3 line
Thanks Eric, we’ll take a quick look.