Bug 1103298 - Lots of extra code source objects are created on class loading
Summary: Lots of extra code source objects are created on class loading
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Class Loading
Version: 6.3.0
Hardware: All
OS: All
low
low
Target Milestone: ER6
: EAP 6.3.0
Assignee: David M. Lloyd
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-30 16:05 UTC by David M. Lloyd
Modified: 2014-06-28 15:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-28 15:40:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-3422 0 Major Closed VFSResourceLoader is creating too many code sources 2014-07-02 01:29:45 UTC

Description David M. Lloyd 2014-05-30 16:05:54 UTC
Description of problem:

The VFS resource loader creates a new code source object for every class in a class loader, even though they can (and should) be shared among all classes with the same signers.  This wastes a small amount (generally 1kB or less) of memory for every non-static-module class that is loaded.

Comment 1 Jan Martiska 2014-06-10 13:16:26 UTC
Verified in EAP 6.3.0.ER7.


Note You need to log in before you can comment on or make changes to this bug.