URGENT trivial XS RFR: 8206954: Test runtime/Thread/ThreadPriorities.java crashes with SEGV in pthread_getcpuclockid

Alan Bateman Alan.Bateman at oracle.com
Tue Jul 10 07:03:46 UTC 2018

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.


More information about the hotspot-runtime-dev mailing list