Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Duplicate strings in o.e.p.internal.jpa.metadata.accessors.objects.MetadataClass(EclipseLink 2.3.0)
Duplicate strings in o.e.p.internal.jpa.metadata.accessors.objects.MetadataClass [message #733853] Wed, 05 October 2011 19:33 Go to next message
Frank Schwarz is currently offline Frank SchwarzFriend
Messages: 26
Registered: July 2009
Location: Dresden
Junior Member
We recently did a memory-footprint analysis and it turned out that there were lots of duplicate strings of

  • org.eclipse.persistence.internal.weaving.PersistenceWeaved
  • org.eclipse.persistence.internal.descriptors.PersistenceEntity
  • org.eclipse.persistence.internal.descriptors.PersistenceObject
  • org.eclipse.persistence.queries.FetchGroupTracker
  • org.eclipse.persistence.internal.weaving.PersistenceWeavedFetchGroups
  • org.eclipse.persistence.descriptors.changetracking.ChangeTracker
  • org.eclipse.persistence.internal.weaving.PersistenceWeavedChangeTracking

Is it worth creating an enhacement request for org.eclipse.persistence.internal.jpa.metadata.accessors.objects.MetadataClass to use internalized string?

Kind regards,
Frank
Re: Duplicate strings in o.e.p.internal.jpa.metadata.accessors.objects.MetadataClass [message #734070 is a reply to message #733853] Thu, 06 October 2011 15:17 Go to previous message
James Sutherland is currently offline James SutherlandFriend
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

These strings come from parsing the class files through ASM. I don't think interning them is desirable/worth a bug request.

I would be more concerned about why the MetadataClass is in memory at all. It should only exist during deployment and then be garbage collected. Do you have non-accessed persistence units? What environment are you using?


James : Wiki : Book : Blog : Twitter
Previous Topic:pingsql
Next Topic:JPQL join and collection association
Goto Forum:
  


Current Time: Fri Mar 29 15:48:29 GMT 2024

Powered by FUDForum. Page generated in 0.02488 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top