RFR: 8369296: Add fast class init checks in interpreter for resolving ConstantPool entries for static field [v5]
Ashutosh Mehra
asmehra at openjdk.org
Thu Oct 9 14:29:52 UTC 2025
> 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 two additional commits since the last revision:
- Move fast clinit check before the call to resolve_from_cache()
Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>
- Add support for ppc
Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27676/files
- new: https://git.openjdk.org/jdk/pull/27676/files/73bc815f..e3553c0f
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27676&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27676&range=03-04
Stats: 233 lines in 5 files changed: 94 ins; 99 del; 40 mod
Patch: https://git.openjdk.org/jdk/pull/27676.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27676/head:pull/27676
PR: https://git.openjdk.org/jdk/pull/27676
More information about the hotspot-dev
mailing list