URGENT trivial XS RFR: 8206954: Test runtime/Thread/ThreadPriorities.java crashes with SEGV in pthread_getcpuclockid
David Holmes
david.holmes at oracle.com
Tue Jul 10 07:08:35 UTC 2018
Thanks Alan and Mikael!
The unexpected side-effects of AgentVM ;-)
David
On 10/07/2018 5:03 PM, Alan Bateman wrote:
> On 10/07/2018 08:00, David Holmes wrote:
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8206954
>> webrev: http://cr.openjdk.java.net/~dholmes/8206954/webrev/
>>
>> The new test I added for JDK-8205878 needs to run on othervm mode,
>> otherwise the terminated-but-still-attached JavaThread will be
>> encountered by the ThreadPriorties test that issues a jstack command
>> and tries to print all the thread information. When the bad thread
>> fresh this would result in ESRCH from pthread_getcpuclockid, but later
>> the pthread_t is referring to unmapped memory and so we just get a SEGV.
> Changing the test to run in othervm mode looks okay to me.
>
> -Alan
More information about the hotspot-runtime-dev
mailing list