There is also [JDK-8323732](https://bugs.openjdk.org/browse/JDK-8323732), one has to use --disable-warnings-as-errors . But then it does not work anyway (in fastdebug).
# A fatal error has been detected by the Java Runtime Environment: # # Internal Error (/home/azul/azul/openjdk-git/src/hotspot/share/runtime/handles.inline.hpp:77), pid=878152, tid=878158 # assert(_thread->is_in_live_stack((address)this)) failed: not on stack? # # JRE version: (24.0) (fastdebug build ) # Java VM: OpenJDK 64-Bit Server VM (fastdebug 24-internal-adhoc.azul.openjdk-git, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64) # Problematic frame: # V [libjvm.so+0x1d20658] constantPoolHandle::constantPoolHandle(Thread*, ConstantPool*)+0x268 ------------- Commit messages: - 8334763: Fix --enable-asan assertion is_in_live_stack for fastdebug Changes: https://git.openjdk.org/jdk/pull/19843/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19843&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8334763 Stats: 8 lines in 1 file changed: 8 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/19843.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/19843/head:pull/19843 PR: https://git.openjdk.org/jdk/pull/19843