RFR: 8344533: CTW: Add option to remove clinits before loading

duke duke at openjdk.org
Fri Nov 22 07:10:16 UTC 2024


On Tue, 19 Nov 2024 10:50:48 GMT, Evgeny Nikitin <enikitin at openjdk.org> wrote:

> This PR adds an option-controlled (off by default) removal of <clinit> methods before loading them with CTW ClassLoader.
> The main purpose is to prevent `static { ... }` blocks execution (along with static fields initialization).
> Testing: manual CTW runs.

@lepestock 
Your change (at version d9a3d136b9216efcc9315cebaf3204fb523d9941) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/22235#issuecomment-2493018572


More information about the hotspot-compiler-dev mailing list