Minimal VM build failure after JDK-8210498 (nmethod entry barriers)

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 12
    • Affects Version/s: 12
    • Component/s: hotspot
    • b16

      x86_64, minimal:

      /scratch/shade/jdk-jdk/src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp: In static member function 'static nmethod* SharedRuntime::generate_native_wrapper(MacroAssembler*, const methodHandle&, int, BasicType*, VMRegPair*, BasicType)':
      /scratch/shade/jdk-jdk/src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp:2164:5: error: invalid use of incomplete type 'class BarrierSetAssembler'
         bs->nmethod_entry_barrier(masm);
           ^~
      In file included from /scratch/shade/jdk-jdk/src/hotspot/share/precompiled/precompiled.hpp:89:
      /scratch/shade/jdk-jdk/src/hotspot/share/gc/shared/barrierSet.hpp:36:7: note: forward declaration of 'class BarrierSetAssembler'
       class BarrierSetAssembler;
             ^~~~~~~~~~~~~~~~~~~

            Assignee:
            Aleksey Shipilev
            Reporter:
            Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: