RFR: 8369296: Add fast class init checks in interpreter for resolving ConstantPool entries for static field [v2]
Vladimir Ivanov
vlivanov at openjdk.org
Tue Oct 7 17:49:23 UTC 2025
On Tue, 7 Oct 2025 17:27:18 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
> Can we loop to L_clinit_barrier_slow several times until class is initialized?
No, `clinit_barrier` either "blocks" (not yet initialized or being initialized, but not in init thread) or returns right away (fully initialized or being initialized and in init thread). No need for repeated attempts.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27676#issuecomment-3377943496
More information about the hotspot-dev
mailing list