RFR: 8320308: C2 compilation crashes in LibraryCallKit::inline_unsafe_access
Vladimir Ivanov
vlivanov at openjdk.org
Wed Jul 10 21:27:56 UTC 2024
On Wed, 10 Jul 2024 20:12:25 GMT, Tobias Holenstein <tholenstein at openjdk.org> wrote:
> } else if (_gvn.type(base->uncast()) == TypePtr::NULL_PTR) {
IMO a better alternative is to drop speculative part before performing the comparison:
} else if (base_type->remove_speculative() == TypePtr::NULL_PTR) {
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20033#issuecomment-2221519789
More information about the hotspot-compiler-dev
mailing list