RFR(XS): 8211287: ClassPathTests.java fails due to "Unable to map MiscData shared space at required address."

Calvin Cheung calvin.cheung at oracle.com
Tue Oct 2 20:09:56 UTC 2018


bug: https://bugs.openjdk.java.net/browse/JDK-8211287

webrev: http://cr.openjdk.java.net/~ccheung/8211287/webrev.00/

The method to be invoked sometimes throws the SkippedException usually 
in case the archive cannot be mapped at the required address 
successfully. The fix is to catch the InvocationTargetException and 
inspecting its cause.  If the cause is SkippedException, consider the 
test has passed and output some message. Otherwise, rethrow the exception.

Testing:
     hs-tier1,2,3
     Also ran the test 40 times on the windows host from which the 
failure was observed.

thanks,
Calvin


More information about the hotspot-runtime-dev mailing list