JDK-8061692 : TestWBGC.java fails when trying to verify that WB methods isObjectInOldGen and youngGC works correctly
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2014-10-21
  • Updated: 2014-10-27
  • Resolved: 2014-10-27
Related Reports
Duplicate :  
Description
Command line: [/export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/gc_baseline/linux-i586/bin/java -Xmixed -client -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:MaxTenuringThreshold=1 -XX:+PrintGC TestWBGC$GCYoungTest ]

----------System.err:(25/1213)----------
 stdout: [];
 stderr: [Exception in thread "main" java.lang.RuntimeException: Expected value to be true
	at com.oracle.java.testlibrary.Asserts.error(Asserts.java:450)
	at com.oracle.java.testlibrary.Asserts.assertTrue(Asserts.java:377)
	at com.oracle.java.testlibrary.Asserts.assertTrue(Asserts.java:365)
	at TestWBGC$GCYoungTest.main(TestWBGC.java:66)
]
 exitValue = 1

java.lang.RuntimeException: Expected to get exit value of [0]

	at com.oracle.java.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:308)
	at TestWBGC.main(TestWBGC.java:50)
	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:498)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:745)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]