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

Build failure due to UseJVMCICompiler was not declared when C2 is disabled after JDK-8292691

XMLWordPrintable

    • b13

      The following build failure was observed when C2 was disabled by --with-jvm-features=-compiler2.


      /home/jvm/jdk/src/hotspot/share/compiler/oopMap.inline.hpp: In member function 'void OopMapDo<OopFnT, DerivedOopFnT, ValueFilterT>::iterate_oops_do(const frame*, const RegisterMapT*, const ImmutableOopMap*)':
      /home/jvm/jdk/src/hotspot/share/compiler/oopMap.inline.hpp:68:11: error: 'UseJVMCICompiler' was not declared in this scope
             if (UseJVMCICompiler) {
                 ^~~~~~~~~~~~~~~~
      /home/jvm/jdk/src/hotspot/share/compiler/oopMap.inline.hpp:68:11: note: suggested alternative: 'UseCompiler'
             if (UseJVMCICompiler) {
                 ^~~~~~~~~~~~~~~~
                 UseCompiler
      In file included from /home/jvm/jdk/src/hotspot/share/code/codeBlob.inline.hpp:30,
                       from /home/jvm/jdk/src/hotspot/share/runtime/frame.inline.hpp:30,
                       from /home/jvm/jdk/src/hotspot/share/oops/instanceStackChunkKlass.inline.hpp:32,
                       from /home/jvm/jdk/src/hotspot/share/oops/stackChunkOop.inline.hpp:33,
                       from /home/jvm/jdk/src/hotspot/share/gc/shared/continuationGCSupport.inline.hpp:32,
                       from /home/jvm/jdk/src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp:33,
                       from /home/jvm/jdk/src/hotspot/share/gc/shenandoah/shenandoahCollectionSet.inline.hpp:31,
                       from /home/jvm/jdk/src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.inline.hpp:32,
                       from /home/jvm/jdk/src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:40,
                       from /home/jvm/jdk/src/hotspot/share/oops/access.inline.hpp:31,
                       from /home/jvm/jdk/src/hotspot/share/classfile/javaClasses.inline.hpp:30,
                       from /home/jvm/jdk/src/hotspot/share/gc/shared/accessBarrierSupport.cpp:26:
      /home/jvm/jdk/src/hotspot/share/compiler/oopMap.inline.hpp: In member function 'void OopMapDo<OopFnT, DerivedOopFnT, ValueFilterT>::iterate_oops_do(const frame*, const RegisterMapT*, const ImmutableOopMap*)':
      /home/jvm/jdk/src/hotspot/share/compiler/oopMap.inline.hpp:68:11: error: 'UseJVMCICompiler' was not declared in this scope
             if (UseJVMCICompiler) {
                 ^~~~~~~~~~~~~~~~
      /home/jvm/jdk/src/hotspot/share/compiler/oopMap.inline.hpp:68:11: note: suggested alternative: 'UseCompiler'
             if (UseJVMCICompiler) {
                 ^~~~~~~~~~~~~~~~
                 UseCompiler

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

              Created:
              Updated:
              Resolved: