RFR: 8332457: Examine startup overheads from JDK-8294961 [v20]
Adam Sotona
asotona at openjdk.org
Wed Jun 5 12:50:25 UTC 2024
> [JDK-8294961](https://bugs.openjdk.org/browse/JDK-8294961) changed to use classfile API for reflection proxy-generation. Actual implementation of `ProxyGenerator` is focused on performance, however it causes JDK bootstrap regressions. `ProxyGenerator.TEMPLATE` class model is statically created and each proxy class is transformed from the template.
>
> This patch is intended to examine plain proxy generation impact on performance and JDK bootstrap (vs proxy transformation from template).
>
> The generated proxy is migrated from static initialization to CONDY bootstrap.
>
> Please review.
>
> Thank you,
> Adam
Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
Update test/micro/org/openjdk/bench/java/lang/reflect/ProxyGenBench.java
Co-authored-by: Chen Liang <liangchenblue at gmail.com>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/19410/files
- new: https://git.openjdk.org/jdk/pull/19410/files/54376fe8..a0822718
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=19410&range=19
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=19410&range=18-19
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/19410.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19410/head:pull/19410
PR: https://git.openjdk.org/jdk/pull/19410
More information about the core-libs-dev
mailing list