JDK-8035822 : Unable to test minimalVM
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 7u60,8u20,9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-02-26
  • Updated: 2014-07-29
  • Resolved: 2014-02-26
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 8 JDK 9
8u20Fixed 9 b04Fixed
Description
Test code that should have been protected by the define INCLUDE_ALL_GCS was accidentally placed outside the ifdef. This gives a runtime linkage error:

 > ./b02/linux-i586-ea-fastdebug/images/j2sdk-image/bin/java -minimal -version
Error: dl failure on line 744
Error: failed /export/users/dh198349/jdk9-hs-emb/build/b02/linux-i586-ea-fastdebug/images/j2sdk-image/jre/lib/i386/minimal/libjvm.so, because /export/users/dh198349/jdk9-hs-emb/build/b02/linux-i586-ea-fastdebug/images/j2sdk-image/jre/lib/i386/minimal/libjvm.so: undefined symbol: _Z32TestOldFreeSpaceCalculation_testv

Comments
I = Only in debug builds when running minimal VM -> Low L = Happens every time you run a debug build of minimal VM -> High W = None -> High LHH = P4
26-02-2014