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

Tatiana Pivovarova tatiana.pivovarova at oracle.com
Fri Jul 29 14:35:39 UTC 2016


Thanks Vladimir!


On 07/29/2016 04:26 AM, Vladimir Kozlov wrote:
> Seems good.
>
> Thanks,
> Vladimir
>
> On 7/28/16 9:40 AM, Tatiana Pivovarova wrote:
>> 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/20160729/683060fd/attachment-0001.html>


More information about the hotspot-compiler-dev mailing list