RFR: 8289856: [PPC64] SIGSEGV in C2Compiler::init_c2_runtime() after JDK-8289060

Martin Doerr mdoerr at openjdk.org
Wed Jul 6 20:56:04 UTC 2022


We're currently calling `nullptr->is_valid()` and `nullptr->value()` which causes SIGSEGV on PPC64 (and is undefined behavior). See JBS for details.

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

Commit messages:
 - 8289856: [PPC64] SIGSEGV in C2Compiler::init_c2_runtime() after JDK-8289060

Changes: https://git.openjdk.org/jdk/pull/9403/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9403&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8289856
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/9403.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9403/head:pull/9403

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


More information about the hotspot-compiler-dev mailing list