RFR: 8369296: Add fast class init checks in interpreter for resolving ConstantPool entries for static field [v8]
Martin Doerr
mdoerr at openjdk.org
Fri Oct 10 09:56:27 UTC 2025
On Fri, 10 Oct 2025 03:41:48 GMT, Ashutosh Mehra <asmehra at openjdk.org> wrote:
>> This patch adds fast clinit barrier in the interpreter when resolving cp entry for a static field.
>>
>> Testing: tested x86-64 by running `hotspot_runtime` group
>> Specifically, `runtime/clinit/ClassInitBarrier.java` fails if the block for adding `clinit_barrier` is commented out in `TemplateTable::resolve_cache_and_index_for_field`
>
> Ashutosh Mehra has updated the pull request incrementally with one additional commit since the last revision:
>
> Fix s390 compilation failure
>
> Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>
Unfortunately, this is no longer correct for PPC64 because the isync instruction is missing on some paths, now. While this looks good for other platforms, can you revert only PPC64 to the previous version, please?
-------------
Changes requested by mdoerr (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/27676#pullrequestreview-3322283211
More information about the hotspot-dev
mailing list