JDK-8202684 : Minimal VM build is broken after JDK-8199067, JDK-8202638
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-05-05
  • Updated: 2018-05-11
  • Resolved: 2018-05-05
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 11
11 b13Fixed
Related Reports
Relates :  
Relates :  
Description
/pool/buildbot/slaves/sobornost/jdkX/build/test/hotspot/gtest/runtime/test_committed_virtualmemory.cpp: In static member function 'static void CommittedVirtualMemoryTest::test()':
/pool/buildbot/slaves/sobornost/jdkX/build/test/hotspot/gtest/runtime/test_committed_virtualmemory.cpp:45:5: error: 'VirtualMemoryTracker' has not been declared
     VirtualMemoryTracker::add_reserved_region(stack_end, stack_size, CALLER_PC, mtThreadStack);
     ^~~~~~~~~~~~~~~~~~~~
/pool/buildbot/slaves/sobornost/jdkX/build/test/hotspot/gtest/runtime/test_committed_virtualmemory.cpp:48:5: error: 'VirtualMemoryTracker' has not been declared
     VirtualMemoryTracker::snapshot_thread_stacks();
     ^~~~~~~~~~~~~~~~~~~~
/pool/buildbot/slaves/sobornost/jdkX/build/test/hotspot/gtest/runtime/test_committed_virtualmemory.cpp:50:5: error: 'ReservedMemoryRegion' was not declared in this scope
     ReservedMemoryRegion* rmr = VirtualMemoryTracker::_reserved_regions->find(ReservedMemoryRegion(stack_end, stack_size));
     ^~~~~~~~~~~~~~~~~~~~
/pool/buildbot/slaves/sobornost/jdkX/build/test/hotspot/gtest/runtime/test_committed_virtualmemory.cpp:50:27: error: 'rmr' was not declared in this scope
     ReservedMemoryRegion* rmr = VirtualMemoryTracker::_reserved_regions->find(ReservedMemoryRegion(stack_end, stack_size));
                           ^~~
/pool/buildbot/slaves/sobornost/jdkX/build/test/hotspot/gtest/runtime/test_committed_virtualmemory.cpp:50:33: error: 'VirtualMemoryTracker' has not been declared
     ReservedMemoryRegion* rmr = VirtualMemoryTracker::_reserved_regions->find(ReservedMemoryRegion(stack_end, stack_size));
                                 ^~~~~~~~~~~~~~~~~~~~
In file included from /pool/buildbot/slaves/sobornost/jdkX/build/test/fmw/gtest/include/gtest/gtest.h:1929:0,
                 from /pool/buildbot/slaves/sobornost/jdkX/build/test/hotspot/gtest/unittest.hpp:31,
                 from /pool/buildbot/slaves/sobornost/jdkX/build/test/hotspot/gtest/runtime/test_committed_virtualmemory.cpp:33:
/pool/buildbot/slaves/sobornost/jdkX/build/test/fmw/gtest/include/gtest/gtest.h:1994:64: error: template argument 1 is invalid
                       EqHelper<GTEST_IS_NULL_LITERAL_(expected)>::Compare, \
                                                                ^
Comments
RFR: http://mail.openjdk.java.net/pipermail/hotspot-dev/2018-May/032068.html
05-05-2018