Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8322661

Build broken due to missing jvmtiExport.hpp after JDK-8320139

XMLWordPrintable

    • 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)

            jiefu Jie Fu
            jiefu Jie Fu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: