JDK-8313272 : Reduce CDS core region relocation
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 22
  • Priority: P4
  • Status: Resolved
  • Resolution: Delivered
  • Submitted: 2023-07-27
  • Updated: 2024-05-13
  • Resolved: 2024-05-13
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 23
23Resolved
Related Reports
Relates :  
Sub Tasks
JDK-8329416 :  
JDK-8329417 :  
JDK-8329418 :  
Description
Since JDK-8294323, by default, the CDS archive is mapped at a randomized address (on systems that support ASLR). As a result, the CDS core regions need to be relocated.

The time spent in relocation can be reduced:

- By segregating objects that do not have any relocatable pointers. This makes the relocation bitmap scanning more efficient. It also makes some mmaped pages shareable via copy-on-write

- By changing some data structures from using pointers to using offsets. E.g., DumpTimeLambdaProxyClassInfo and LambdaProxyClassKey

Comments
Since there is no changeset on this bug, marking it as 'delivered' is more appropriate than 'fixed'.
13-05-2024