Integrated: 8332457: Examine startup overheads from JDK-8294961

Adam Sotona asotona at openjdk.org
Wed Jun 5 15:36:08 UTC 2024


On Mon, 27 May 2024 09:01:36 GMT, Adam Sotona <asotona at openjdk.org> wrote:

> [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

This pull request has now been integrated.

Changeset: d85b0ca5
Author:    Adam Sotona <asotona at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d85b0ca5cdc1820a886c46bf555b2051fed7f167
Stats:     500 lines in 9 files changed: 174 ins; 197 del; 129 mod

8332457: Examine startup overheads from JDK-8294961
8229959: Convert proxy class to use constant dynamic

Reviewed-by: liach, redestad

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

PR: https://git.openjdk.org/jdk/pull/19410


More information about the core-libs-dev mailing list