RFR: 8344533: CTW: Add option to remove clinits before loading
Leonid Mesnik
lmesnik at openjdk.org
Thu Nov 21 16:50:20 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.
Marked as reviewed by lmesnik (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/22235#pullrequestreview-2452075866
More information about the hotspot-compiler-dev
mailing list