In profiling Hibernate the sync wait times on SoftLimitMRUCache is near the top of the times

Solution Verified - Updated -

Issue

  • Profiling is showing a fair amount of contention on SoftLimitMRUCache - both .get() and .put().  QueryPlanCache.getHQLQueryPlan calls put() unconditionally.  Is there a reason for this?  The get call has already done the LRUMap.put

Environment

  • JBoss Enterprise Application Platform (EAP) 4.3_CP07
  • Hibernate 3.2.4.SP1_CP09

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.