RFR: 8253794: TestAbortVMOnSafepointTimeout never timeouts [v2]
Daniel D.Daugherty
dcubed at openjdk.java.net
Mon Oct 5 15:43:46 UTC 2020
On Fri, 2 Oct 2020 06:37:21 GMT, Robbin Ehn <rehn at openjdk.org> wrote:
>> test/hotspot/jtreg/runtime/Safepoint/TestAbortVMOnSafepointTimeout.java line 30:
>>
>>> 28: /*
>>> 29: * @test TestAbortVMOnSafepointTimeout
>>> 30: * @summary Check if VM can kill thread which doesn't reach safepoint.
>>
>> Not your bug, but this summary is wrong. Perhaps:
>> `@summary Check if VM aborts when a thread doesn't reach safepoint.`
>
> The timeout shots a SIGILL on the 'slow' thread, it does not abort (it do abort if it can't send the signal).
> Test also checks that the log says we have done this.
Okay thanks for the clarification.
-------------
PR: https://git.openjdk.java.net/jdk/pull/465
More information about the hotspot-runtime-dev
mailing list