RFR: 8346457: AOT cache creation crashes with "assert(pair_at(i).match() < pair_at(i+1).match()) failed: unsorted table entries"
Calvin Cheung
ccheung at openjdk.org
Fri Jan 3 00:40:56 UTC 2025
Avoid calling `InstanceKlass::compute_has_loops_flag_for_methods()` when a class has failed verification during CDS dump. It is to avoid assert in subsequent byte code verification such as in `Bytecode_lookupswitch::verify()`.
Testing: tiers 1 - 4.
-------------
Commit messages:
- use TestCommon.testDump in the test
- 8346457: AOT cache creation crashes with "assert(pair_at(i).match() < pair_at(i+1).match()) failed: unsorted table entries"
Changes: https://git.openjdk.org/jdk/pull/22871/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22871&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8346457
Stats: 171 lines in 3 files changed: 170 ins; 1 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/22871.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/22871/head:pull/22871
PR: https://git.openjdk.org/jdk/pull/22871
More information about the hotspot-runtime-dev
mailing list