JDK-8256172 : Clean up CDS handling of i2i_entry
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-11-11
  • Updated: 2021-01-07
  • Resolved: 2020-11-19
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 16
16 b26Fixed
Related Reports
Blocks :  
Description
This is a prerequisite for JDK-8250989 - Consolidate buffer allocation code for CDS static/dynamic archive dumping.

[1] Move the allocation of the i2i buffer after all classes are loaded. This makes it possible to estimate the size of the CDS archive before we allocate the output space (this is what dynamic archive does now).
[2] No need to generate the i2i trampoline code during -Xshare:dump
[3] Clean up the CDS code in abstractInterpreter.cpp and add more comments.

Comments
Changeset: 4178834d Author: Ioi Lam <iklam@openjdk.org> Date: 2020-11-19 07:31:00 +0000 URL: https://github.com/openjdk/jdk/commit/4178834d
19-11-2020