JDK-8212609 : Minimal VM build failure after JDK-8210498 (nmethod entry barriers)
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 12
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-10-17
  • Updated: 2019-08-15
  • Resolved: 2018-10-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 12
12 b16Fixed
Related Reports
Relates :  
Description
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;
       ^~~~~~~~~~~~~~~~~~~

Comments
I also re-opened JDK-8212608.
18-10-2018

ILW = Build failure, with minimal VM build, no workaround = HLH = P2 I'm just closing this for now as resolved.
18-10-2018

Dang. Accidentally pushed under wrong bug ID: http://hg.openjdk.java.net/jdk/jdk/rev/199658d1ef86. Asked ops@ what can we do to rectify it.
17-10-2018