RFR: 8265129: Add intrinsic support for JVM.getClassId [v5]

Denghui Dong ddong at openjdk.java.net
Tue May 11 13:08:14 UTC 2021


On Tue, 11 May 2021 11:13:35 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> I just gave this a quick run through testing and I'm seeing the following error with an internal test:
> 
> ```
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  Internal Error (.../open/src/hotspot/share/opto/escape.cpp:1112), pid=31841, tid=41475
> #  fatal error: EA unexpected CallLeaf SharedRuntime::trace_id_load_barrier
> ```
> 
> ```
> Current CompileTask:
> C2: 710665 26269       4       jdk.jfr.internal.instrument.ThrowableTracer::traceError (70 bytes)
> 
> Stack: [0x000070000d6e3000,0x000070000d7e3000],  sp=0x000070000d7de810,  free space=1006k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
> V  [libjvm.dylib+0x10f463c]  VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x6dc
> V  [libjvm.dylib+0x10f4c4b]  VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x3b
> V  [libjvm.dylib+0x5eea59]  report_fatal(char const*, int, char const*, ...)+0x199
> V  [libjvm.dylib+0x6aaf3f]  ConnectionGraph::process_call_arguments(CallNode*)+0x116f
> V  [libjvm.dylib+0x69fa13]  ConnectionGraph::compute_escape()+0xcb3
> V  [libjvm.dylib+0x69ec35]  ConnectionGraph::do_analysis(Compile*, PhaseIterGVN*)+0xd5
> V  [libjvm.dylib+0x5948f5]  Compile::Optimize()+0x735
> V  [libjvm.dylib+0x592b8b]  Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, DirectiveSet*)+0x16fb
> V  [libjvm.dylib+0x48534b]  C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x10b
> V  [libjvm.dylib+0x5af101]  CompileBroker::invoke_compiler_on_method(CompileTask*)+0x801
> V  [libjvm.dylib+0x5ae6e2]  CompileBroker::compiler_thread_loop()+0x322
> V  [libjvm.dylib+0x1053b6d]  JavaThread::thread_main_inner()+0x26d
> V  [libjvm.dylib+0x1050a77]  Thread::call_run()+0x177
> V  [libjvm.dylib+0xe198bf]  thread_native_entry(Thread*)+0x14f
> C  [libsystem_pthread.dylib+0x6954]  _pthread_start+0xe0
> C  [libsystem_pthread.dylib+0x24a7]  thread_start+0xf
> ```

Hi Tobias,

I cannot reproduce this error in my environment.
Could you provide some more detailed information (e.g. JVM options) on this test?

Denghui

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

PR: https://git.openjdk.java.net/jdk/pull/3470


More information about the hotspot-jfr-dev mailing list