--- a/src/java.base/share/classes/jdk/internal/access/JavaLangAccess.java Thu Jan 31 09:01:10 2019 +0000
+++ b/src/java.base/share/classes/jdk/internal/access/JavaLangAccess.java Tue Feb 05 18:53:19 2019 +0000
@@ -107,6 +107,16 @@
void blockedOn(Interruptible b);
/**
+ * Set the current thread's native ID
+ */
+ void setNativeTid(long tid);
+
+ /**
+ * Returns the current thread's native ID
+ */
+ long nativeTid();
+
+ /**
* Registers a shutdown hook.
*
* It is expected that this method with registerShutdownInProgress=true