Bug 448040 - eclipselink hangs fetching data from cache
Summary: eclipselink hangs fetching data from cache
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-21 05:52 EDT by Alessandro Pacifici CLA
Modified: 2022-06-09 10:08 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Pacifici CLA 2014-10-21 05:52:26 EDT
Eclipselink hangs sometimes when I try to fetch some data (cpu usage goes to 100%). Debugging the code I see that the java vm hangs doing an HashMap.get(Object) operation, and I suppose this is the well known concurrency issue on HashMap (see http://bugs.java.com/view_bug.do?bug_id=6423457). In particular I see that the cacheKeys value of org.eclipse.persistence.internal.identitymaps.UnitOfWorkIdentityMap is an instance of HashMap and not ConcurrentHashMap. Could this be the cause of hangs in my code? How can I solve this?
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:05:23 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:08:50 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink