Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patch for HHH-5927 #283

Closed
wants to merge 2 commits into from
Closed

patch for HHH-5927 #283

wants to merge 2 commits into from

Conversation

stliu
Copy link
Member

@stliu stliu commented Feb 28, 2012

  1. remove commons-collections dependency.
  2. moved org.hibernate.internal.util.collections.ConcurrentReferenceHashMap from envers module to core, and change it to doesn't allow null key / value.
  3. Using ConcurrentReferenceHashMap this to replace old ReferenceMap (from commons-collections) which used in StatefulPersistenceContext.
  4. copied org.hibernate.internal.util.collections.BoundedConcurrentHashMap from infinispan code base.
  5. deprecate properties QUERY_PLAN_CACHE_MAX_STRONG_REFERENCES and QUERY_PLAN_CACHE_MAX_SOFT_REFERENCES
  6. add two new properties QUERY_PLAN_CACHE_PARAMETER_METADATA_MAX_SIZE and QUERY_PLAN_CACHE_MAX_SIZE
  7. remove LRUMap, SimpleMRUCache and SoftLimitMRUCache

2. moved org.hibernate.internal.util.collections.ConcurrentReferenceHashMap from envers module to core, and change it to doesn't allow null key / value.
3. Using ConcurrentReferenceHashMap this to replace old ReferenceMap (from commons-collections) which used in StatefulPersistenceContext.
4. copied org.hibernate.internal.util.collections.BoundedConcurrentHashMap from infinispan code base.
5. deprecate properties QUERY_PLAN_CACHE_MAX_STRONG_REFERENCES and QUERY_PLAN_CACHE_MAX_SOFT_REFERENCES
6. add two new properties QUERY_PLAN_CACHE_PARAMETER_METADATA_MAX_SIZE and QUERY_PLAN_CACHE_MAX_SIZE
7. remove LRUMap, SimpleMRUCache and SoftLimitMRUCache
@stliu
Copy link
Member Author

stliu commented Feb 29, 2012

just pushed a new commit which fixes the logging protections and a little change on the _ BoundedConcurrentHashMap_'s javadoc as you suggested, thanks

@stliu
Copy link
Member Author

stliu commented Mar 6, 2012

applied, thanks all

@stliu stliu closed this Mar 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant