RFR(XS): 8161138: testlibrary_tests/ctw/* failed with "Failed. Unexpected exit from test [exit code: 0]"
tatiana.pivovarova at oracle.com
Thu Jul 28 16:40:54 UTC 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev