RFR: 8340230: Tests crash: assert(is_in_encoding_range || k->is_interface() || k->is_abstract()) failed: sanity

Vladimir Kozlov kvn at openjdk.org
Tue Sep 17 16:32:04 UTC 2024


On Tue, 17 Sep 2024 10:45:09 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> If exactly one of UseCompressedOops and UseCompressedClassPointers is enabled:
> Only the transformation for the enabled part should be used.

It is unfortunate that `Matcher::const_*()` methods don't check these flags.
Fortunately they are used only in this place so the fix is correct.
May be we need to rewrite this sometime later.

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

Marked as reviewed by kvn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/21036#pullrequestreview-2310253257


More information about the hotspot-compiler-dev mailing list