mirror of
https://github.com/openjdk/jdk.git
synced 2026-06-06 18:53:37 +00:00
8384958: Regression of jvmti/init/GetAllStackTraces/getallstktr001.java caused by JDK-8382273
Reviewed-by: lmesnik, sspitsyn
This commit is contained in:
parent
c221711a22
commit
bbcd98580d
@ -23,7 +23,6 @@
|
||||
|
||||
package nsk.jvmti.unit.GetAllStackTraces;
|
||||
|
||||
import jdk.test.lib.thread.ThreadWrapper;
|
||||
import java.io.PrintStream;
|
||||
import nsk.share.Consts;
|
||||
|
||||
@ -118,8 +117,12 @@ public class getallstktr001 {
|
||||
}
|
||||
return GetResult();
|
||||
}
|
||||
// Note: TestThread must extend Thread, not ThreadWrapper. This test uses
|
||||
// JVMTI GetAllStackTraces which only returns platform threads, and 40
|
||||
// threads blocking on native RawMonitorEnter pins carriers causing deadlock.
|
||||
// See JDK-8384958.
|
||||
|
||||
static class TestThread extends ThreadWrapper {
|
||||
static class TestThread extends Thread {
|
||||
static int counter=0;
|
||||
int ind;
|
||||
public TestThread(String name) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user