-
Bug
-
Resolution: Fixed
-
P2
-
23
-
b04
jvmtiExport.hpp is missed in jvmciCompilerToVMInit.cpp after JDK-8320139.
This leads to the build broken when build with: configure --with-jvm-features=-zgc
Building target 'images' in configuration 'linux-x86_64-server-fastdebug'
/data/jdk/src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp: In static member function 'static void CompilerToVM::Data::initialize(JVMCIEnv*)':
/data/jdk/src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp:201:34: error: 'JvmtiExport' has not been declared
201 | _should_notify_object_alloc = &JvmtiExport::_should_notify_object_alloc;
| ^~~~~~~~~~~
gmake[3]: *** [lib/CompileJvm.gmk:154: /data/jdk/build/linux-x86_64-server-fastdebug/hotspot/variant-server/libjvm/objs/jvmciCompilerToVMInit.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[2]: *** [make/Main.gmk:253: hotspot-server-libs] Error 2
ERROR: Build failed for target 'images' in configuration 'linux-x86_64-server-fastdebug' (exit code 2)
This leads to the build broken when build with: configure --with-jvm-features=-zgc
Building target 'images' in configuration 'linux-x86_64-server-fastdebug'
/data/jdk/src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp: In static member function 'static void CompilerToVM::Data::initialize(JVMCIEnv*)':
/data/jdk/src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp:201:34: error: 'JvmtiExport' has not been declared
201 | _should_notify_object_alloc = &JvmtiExport::_should_notify_object_alloc;
| ^~~~~~~~~~~
gmake[3]: *** [lib/CompileJvm.gmk:154: /data/jdk/build/linux-x86_64-server-fastdebug/hotspot/variant-server/libjvm/objs/jvmciCompilerToVMInit.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[2]: *** [make/Main.gmk:253: hotspot-server-libs] Error 2
ERROR: Build failed for target 'images' in configuration 'linux-x86_64-server-fastdebug' (exit code 2)
- relates to
-
JDK-8320139 [JVMCI] VmObjectAlloc is not generated by intrinsics methods which allocate objects
- Resolved