• Bug
  • Status: Closed
  • 0 Showstopper
  • Resolution: Fixed
  • ehcache-core
  • amiller
  • Reporter:
  • September 25, 2009
  • 0
  • Watchers: 0
  • July 27, 2012
  • September 26, 2009

Description

  1. protected static final int TOO_LARGE_TO_EFFICIENTLY_ITERATE = 100; This needs to go and we always sample. I had a report from someone with a cache size of 50 which hogged CPU. This field used to be 5000. Now I believe we should just remove it.

Comments

gluck 2009-09-25

Partial Fix: Change 100 to 5 to fix the issue for most caches.

Alex Miller 2009-09-26

Changed crossover from 100 to 5.