JDK-8208635 : Minimal VM build is broken after JDK-8199868 (Support JNI critical functions in object pinning API)
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-08-01
  • Updated: 2018-08-09
  • Resolved: 2018-08-02
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 b06Fixed
Related Reports
Relates :  
Description
 class CollectedHeap;
       ^~~~~~~~~~~~~
/pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp:2300:31: error: invalid use of incomplete type �������class CollectedHeap��������
           if (Universe::heap()->supports_object_pinning()) {
                               ^~
In file included from /pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/oops/array.hpp:29:0,
                 from /pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/memory/universe.hpp:28,
                 from /pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/code/oopRecorder.hpp:28,
                 from /pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/asm/codeBuffer.hpp:28,
                 from /pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/asm/assembler.hpp:28,
                 from /pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/asm/macroAssembler.hpp:28,
                 from /pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp:29:
/pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/share/memory/metaspace.hpp:64:7: note: forward declaration of �������class CollectedHeap��������
 class CollectedHeap;
       ^~~~~~~~~~~~~