Integrated: 8256172: Clean up CDS handling of i2i_entry
Ioi Lam
iklam at openjdk.java.net
Thu Nov 19 07:35:08 UTC 2020
On Wed, 18 Nov 2020 00:35:16 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: 4178834d
Author: Ioi Lam <iklam at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/4178834d
Stats: 85 lines in 8 files changed: 24 ins; 40 del; 21 mod
8256172: Clean up CDS handling of i2i_entry
Reviewed-by: minqi, ccheung
-------------
PR: https://git.openjdk.java.net/jdk/pull/1280
More information about the hotspot-runtime-dev
mailing list