[lworld] RFR: 8271397: [lworld] SIGSEGV in ciKlass::is_subtype_of

Frederic Parain fparain at openjdk.java.net
Wed Jul 28 15:03:47 UTC 2021

On Wed, 28 Jul 2021 14:04:33 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> This should fix an extremely intermittent crash (only happened once) in `ciKlass::is_subtype_of`. Similar to the checks in `Parse::do_checkcast`, we need to check for `klass->is_loaded()` before calling `is_subtype_of(klass)` in type flow analysis.
> Best regards,
> Tobias

Marked as reviewed by fparain (Committer).


PR: https://git.openjdk.java.net/valhalla/pull/506

More information about the valhalla-dev mailing list