RFR: 8256172: Clean up CDS handling of i2i_entry [v2]

Ioi Lam iklam at openjdk.java.net
Wed Nov 18 18:12:15 UTC 2020


> This PR is a prerequisite for [JDK-8250989](https://bugs.openjdk.java.net/browse/JDK-8250989) - Consolidate buffer allocation code for CDS static/dynamic archive dumping.
> 
> -  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).
> - No need to generate the i2i trampoline code during -Xshare:dump
> - Clean up the CDS code in abstractInterpreter.cpp and add more comments.

Ioi Lam has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:

 - fixed merge
 - Merge branch 'master' into 8256172-cleanup-cds-i2i-entry
 - 8256172: Clean up CDS handling of i2i_entry

-------------

Changes: https://git.openjdk.java.net/jdk/pull/1280/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1280&range=01
  Stats: 85 lines in 8 files changed: 24 ins; 40 del; 21 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1280.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1280/head:pull/1280

PR: https://git.openjdk.java.net/jdk/pull/1280


More information about the hotspot-runtime-dev mailing list