[9] RFR(XS): 8161138: testlibrary_tests/ctw/* failed with "Failed. Unexpected exit from test [exit code: 0]"

Tatiana Pivovarova tatiana.pivovarova at oracle.com
Thu Jul 28 16:40:54 UTC 2016


Hi,

Please review this patch

Class sun.hotspot.tools.ctw.CompileTheWorld always finished with 
System.exit(0). This was done to finish all threads spawned by a class 
loading (for example bug [*] where sun.tools.jconsole.OutputViewer class 
loading create and start separate threads to listen input)

But JTREG help says "Tests are not allowed to call System.exit" because  
it "would cause the harness itself to exit!"

The safest way to avoid hang VM is an excluding such classes, which was 
done.

Tested: rbt.

Bug: https://bugs.openjdk.java.net/browse/JDK-8161138

Webrev: http://cr.openjdk.java.net/~tpivovarova/8161138/webrev.00/

[*] https://bugs.openjdk.java.net/browse/JDK-8159155

Thanks,

Tatiana

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160728/c6ea76d3/attachment.html>


More information about the hotspot-compiler-dev mailing list