diff --git a/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/thread/Target_java_lang_Thread.java b/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/thread/Target_java_lang_Thread.java index 4783cd3b2662..4b47d2009849 100644 --- a/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/thread/Target_java_lang_Thread.java +++ b/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/thread/Target_java_lang_Thread.java @@ -623,6 +623,10 @@ private StackTraceElement[] getStackTrace() { return JavaThreads.getStackTrace(false, JavaThreads.fromTarget(this)); } + @Delete + @SuppressWarnings({"static-method"}) + private native Object getStackTrace0(); + /** @see com.oracle.svm.core.jdk.StackTraceUtils#asyncGetStackTrace */ @Delete @TargetElement(onlyWith = JDK19OrLater.class) @@ -798,6 +802,9 @@ boolean isTerminated() { @Alias @TargetElement(onlyWith = JDK19OrLater.class) native long threadId(); + + @Delete + static native long getNextThreadIdOffset(); } @TargetClass(value = Thread.class, innerClass = "Builder", onlyWith = JDK19OrLater.class)