Community
Participate
Working Groups
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?
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink