8330302: strace004 can still fail
Reviewed-by: alanb, shade
This commit is contained in:
parent
8a4ea09fa2
commit
bd44cf8ab7
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -663,6 +663,9 @@ class SleepingThread extends BaseThread {
|
||||
expectedMethods.add(Thread.class.getName() + ".currentCarrierThread");
|
||||
expectedMethods.add(Thread.class.getName() + ".currentThread");
|
||||
// jdk.internal.event.ThreadSleepEvent not accessible
|
||||
expectedMethods.add("java.lang.Object.<init>");
|
||||
expectedMethods.add("jdk.internal.event.Event.<init>");
|
||||
expectedMethods.add("jdk.internal.event.ThreadSleepEvent.<init>");
|
||||
expectedMethods.add("jdk.internal.event.ThreadSleepEvent.<clinit>");
|
||||
expectedMethods.add("jdk.internal.event.ThreadSleepEvent.isEnabled");
|
||||
expectedMethods.add(SleepingThread.class.getName() + ".run");
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2007, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2007, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -41,6 +41,9 @@ public class SleepingThread extends RecursiveMonitoringThread {
|
||||
"java.lang.Thread.beforeSleep",
|
||||
"java.lang.Thread.afterSleep",
|
||||
"java.util.concurrent.TimeUnit.toNanos",
|
||||
"java.lang.Object.<init>",
|
||||
"jdk.internal.event.Event.<init>",
|
||||
"jdk.internal.event.ThreadSleepEvent.<init>",
|
||||
"jdk.internal.event.ThreadSleepEvent.<clinit>",
|
||||
"jdk.internal.event.ThreadSleepEvent.isEnabled",
|
||||
"nsk.monitoring.share.thread.SleepingThread.runInside"
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -150,6 +150,8 @@ public class strace001 {
|
||||
"java.lang.Thread.currentThread",
|
||||
"java.util.concurrent.TimeUnit.toNanos",
|
||||
"jdk.internal.event.ThreadSleepEvent.<clinit>",
|
||||
"java.lang.Object.<init>",
|
||||
"jdk.internal.event.Event.<init>",
|
||||
"jdk.internal.event.ThreadSleepEvent.<init>",
|
||||
"jdk.internal.event.ThreadSleepEvent.isEnabled"
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user