Bug 1250150

Summary: [GSS](6.4.z) HHH-9928 - Pending put leaks when the entity is not found in DB
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Stephen Fikes <sfikes>
Component: HibernateAssignee: jboss-set
Status: CLOSED CURRENTRELEASE QA Contact: hsvabek
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: bmaxwell, gbadner, jawilson, jmartisk, msimka, sjacobs, smarlow, thofman, ttarrant
Target Milestone: CR1   
Target Release: EAP 6.4.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1250542 (view as bug list) Environment:
Last Closed: 2017-01-17 11:44:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1235745, 1250542, 1259122    

Description Stephen Fikes 2015-08-04 15:21:05 UTC
Description of problem:
https://hibernate.atlassian.net/browse/HHH-9928

Version-Release number of selected component (if applicable):


How reproducible:
Consistently

Steps to Reproduce:
Repeatedly execute find by ID queries (at least 1 per minute) in individual transactions for a cacheable entity which does not exist in the DB (e.g. polling for a change) 

Actual results:
Continual, unbounded memory growth (as the above query loop continues) is observed in:

org.hibernate.cache.infinispan.access.PutFromLoadValidator$PendingPutMap

Expected results:
Memory should not grow without bound

Additional info:
The memory increase is associated with java.util.HashMap$Node instances, each of which include a distinct key of com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple and a value of org.hibernate.cache.infinispan.access.PutFromLoadValidator$PendingPut.

Document URL: 

Section Number and Name: 

Describe the issue: 

Suggestions for improvement: 

Additional information: 


Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 6 hsvabek 2015-11-03 12:15:21 UTC
Verified with EAP 6.4.5.CP.CR1.

Comment 7 Petr Penicka 2017-01-17 11:44:20 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.