JDK-7015622 : java/lang/Thread/StopBeforeStart.java fails
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2011-01-28
  • Updated: 2019-01-15
  • Resolved: 2013-05-28
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.
Other
tbdResolved
Related Reports
Duplicate :  
Description
Reproducable with JDK 7 b125 on linux0i586 and VM options -client -Xcomp -XX:+StartAttachListener -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode.

http://vmsqe.russia.sun.com/execution/results/JDK7/PROMOTION/VM/7/b125/ConcMarkSweepIncGC/javase/linux-i586/client/comp/linux-i586_javase__client_comp_JT_JDK_java_lang/analysis.html

java.lang.RuntimeException: Runnable test: app thread did not terminate
	at StopBeforeStart.runit(StopBeforeStart.java:126)
	at StopBeforeStart.doit(StopBeforeStart.java:102)
	at StopBeforeStart.main(StopBeforeStart.java:94)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:732)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Runnable test: app thread did not terminate
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Runnable test: app thread did not terminate
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Runnable test: app thread did not terminate
Sometime the test fails with a bit diferent log:

java.lang.RuntimeException: Thread test: app thread did not terminate
	at StopBeforeStart.runit(StopBeforeStart.java:126)
	at StopBeforeStart.doit(StopBeforeStart.java:101)
	at StopBeforeStart.main(StopBeforeStart.java:94)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:732)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Thread test: app thread did not terminate
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Thread test: app thread did not terminate
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Thread test: app thread did not terminate

Comments
With the fix for 6562203 this test became irrelevant and in fact will always fail for a different reason. The test was remved as part of 6562203.
28-05-2013