JDK-8058475 : TestCMSClassUnloadingEnabledHWM.java fails with '.*CMS Initial Mark.*' missing from stdout/stderr
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 8u40,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • Submitted: 2014-09-15
  • Updated: 2015-06-03
  • Resolved: 2014-09-16
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
8u40Fixed 9 b33Fixed
Description
RULE gc/class_unloading/TestCMSClassUnloadingEnabledHWM.java Exception java.lang.RuntimeException: '.*CMS Initial Mark.*' missing from stdout/stderr


Command line: java.exe -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:MetaspaceSize=33554432 -Xmn33554432 -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+PrintHeapAtGC -XX:+PrintGCDetails AllocateBeyondMetaspaceSize 33554432 33554432


java.lang.RuntimeException: '.*CMS Initial Mark.*' missing from stdout/stderr 

	at com.oracle.java.testlibrary.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:165)
	at TestCMSClassUnloadingEnabledHWM.testWithCMSClassUnloading(TestCMSClassUnloadingEnabledHWM.java:83)
	at TestCMSClassUnloadingEnabledHWM.main(TestCMSClassUnloadingEnabledHWM.java:88)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:484)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:745)

Comments
Test fix out for review.
15-09-2014