JDK-7169321 : Add class loader dependencies into the Java class loader object
Type:Enhancement
Component:hotspot
Sub-Component:gc
Affected Version:8
Priority:P4
Status:Closed
Resolution:Duplicate
OS:generic
CPU:generic
Submitted:2012-05-16
Updated:2014-04-08
Resolved:2012-09-04
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
The class loader dependencies are currently part of the ClassLoaderData (in C++ code).
Consider adding those dependencies the class loader object to simplify GC code.
Comments
EVALUATION
This is fixed and included in fix for
Summary: Remove PermGen, allocate meta-data in metaspace linked to class loaders,
Class loader dependencies are an objArrayOop that the ClassLoaderData points to. This will dirty the card for this objArrayOop when new dependencies are added and GC will be able to find them.