• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • ehcache-core
  • hsingh
  • Reporter: amiller
  • December 15, 2009
  • 0
  • Watchers: 0
  • January 17, 2013
  • January 06, 2010

Description

The counters in here are all defined as longs and are read/written w/o local synchronization. In many but not all cases, the mutator calls are held (in calls above) by the put() synchronization. But probably better to just make counters atomics or something if you expect them to be right.

Comments

Hung Huynh 2010-01-06

converted long counters to AtomicLong