Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1103298

Summary: Lots of extra code source objects are created on class loading
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: David M. Lloyd <david.lloyd>
Component: Class LoadingAssignee: David M. Lloyd <david.lloyd>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 6.3.0CC: jmartisk, kkhan, myarboro
Target Milestone: ER6   
Target Release: EAP 6.3.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-28 15:40:10 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:

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.