Integrated: 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
Mon Jan 6 18:01:54 UTC 2025


On Mon, 23 Dec 2024 23:53:13 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 8d388ccd
Author:    Calvin Cheung <ccheung at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8d388ccd9eae279018bf499e49152fd276aab5bf
Stats:     171 lines in 3 files changed: 170 ins; 1 del; 0 mod

8346457: AOT cache creation crashes with "assert(pair_at(i).match() < pair_at(i+1).match()) failed: unsorted table entries"

Reviewed-by: iklam, dholmes

-------------

PR: https://git.openjdk.org/jdk/pull/22871


More information about the hotspot-runtime-dev mailing list