JDK-8209378 : Fix Minimal VM after JDK-8208677 Move inner metaspace cleaning out of class unloading
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 12
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-08-10
  • Updated: 2019-01-04
  • Resolved: 2018-08-13
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 b07Fixed
Related Reports
Relates :  
Description
with JDK-8208677 integrated, the following is observed building Minimal VM

Creating support/modules_libs/java.base/minimal/libjvm.so from 477 file(s)
Creating hotspot/variant-minimal/libjvm/gtest/libjvm.so from 80 file(s)
Creating hotspot/variant-minimal/libjvm/gtest/gtestLauncher from 1 file(s)
In file included from /home/bellsoft/jdk/src/hotspot/share/gc/serial/markSweep.inline.hpp:28:0,
                 from /home/bellsoft/jdk/src/hotspot/share/gc/shared/space.inline.hpp:39,
                 from /home/bellsoft/jdk/src/hotspot/share/gc/shared/blockOffsetTable.cpp:28:
/home/bellsoft/jdk/src/hotspot/share/classfile/classLoaderData.inline.hpp: In static member function ���static bool ClassLoaderDataGraph::should_clean_metaspaces_and_reset()���:
/home/bellsoft/jdk/src/hotspot/share/classfile/classLoaderData.inline.hpp:99:76: error: ���has_previous_versions��� is not a member of ���InstanceKlass���
   return (do_cleaning && _should_clean_deallocate_lists) || InstanceKlass::has_previous_versions();
                                                                            ^~~~~~~~~~~~~~~~~~~~~

Comments
webrev: http://cr.openjdk.java.net/~avoitylov/8209378/
10-08-2018