JDK-8232068 : Shenandoah: TestJNIGlobalRefs test crashes with -XX:+VerifyOops
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 14
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2019-10-09
  • Updated: 2020-02-11
  • Resolved: 2020-02-11
Related Reports
Duplicate :  
Description
Run test with:

-Xmx1g  -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive -XX:+VerifyOops -Xcomp  TestJNIGlobalRefs

Crash with:
# fatal error: DEBUG MESSAGE: verify_oop: rax:  broken oop

I chased down a bit, the verify_oop() came from:

src/hotspot/cpu/x86/c1_LIRAssembler_x86.cpp#861