Build fails without shenandoahgc after JDK-8257563

XMLWordPrintable

    • b28

      # Symptom
      ```
      * For target hotspot_variant-server_libjvm_gtest_objs_BUILD_GTEST_LIBJVM_link:
      /home/jvm/jiefu/open/jdk/build/linux-x86_64-server-fastdebug/hotspot/variant-server/libjvm/objs/compilerRuntime.o: In function `CompilerRuntime::resolve_klass_helper(JavaThread*, char const*, int, Thread*)':
      /home/jvm/jiefu/open/jdk/src/hotspot/share/jvmci/compilerRuntime.cpp:72: undefined reference to `Klass::class_loader() const'
      collect2: error: ld returned 1 exit status
      * For target hotspot_variant-server_libjvm_objs_BUILD_LIBJVM_link:
      /home/jvm/jiefu/open/jdk/build/linux-x86_64-server-fastdebug/hotspot/variant-server/libjvm/objs/compilerRuntime.o: In function `CompilerRuntime::resolve_klass_helper(JavaThread*, char const*, int, Thread*)':
      /home/jvm/jiefu/open/jdk/src/hotspot/share/jvmci/compilerRuntime.cpp:72: undefined reference to `Klass::class_loader() const'
      collect2: error: ld returned 1 exit status
      ```

      # Reproduce
      ```
      bash configure --with-jvm-features=-shenandoahgc
      ```

            Assignee:
            Jie Fu
            Reporter:
            Jie Fu
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: