JDK-8194759 : Support caching class mirror objects
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 11
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2018-01-08
  • Updated: 2024-03-18
  • Resolved: 2018-03-02
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.

To download the current JDK release, click here.
JDK 11
11 b07Fixed
Related Reports
Blocks :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Sub Tasks
JDK-8196194 :  
Description
Currently with G1 GC there are two types of archive-able heap regions, the open archive heap region and closed archive heap region. In open archive heap regions, objects within the region can have out-going references to other regions within the java heap. In JDK 10, the constant pool's resolved_references arrays (with resolved string constants) were supported to be cached in the open archive region at CDS dump time and used in subsequent JVM executions without recreating those array objects. The class mirror objects are good candidate for caching at CDS dump time. The mirrors will be stored in the open archive heap regions as the resolved_references arrays.

Support G1 GC, 64-bit (non-Windows). Requires UseCompressedOops and UseCompressedClassPointers.
Comments
URL: http://hg.openjdk.java.net/jdk/jdk/rev/04ed29f9ef33 User: jwilhelm Date: 2018-03-23 18:52:48 +0000
23-03-2018

URL: http://hg.openjdk.java.net/jdk/hs/rev/04ed29f9ef33 User: jiangli Date: 2018-03-02 22:36:17 +0000
02-03-2018