I can find no documentation and only the following discussion which is not very clear on what it's for.
Note: JDK1.1 and before had a
privateInfo_offset
field which was used for the platform thread structure, and a eetop offset which was used for thread local storage (and unused by the HotSpot VM). In JDK1.2 the two structures merged, so in the HotSpot VM we just use the eetop field for the thread instead of theprivateInfo_offset
.
It the JRE source, it is a pointer to the underlying OS-level native thread instance of the JVM (ref). In the latest JDK source, the file hotspot/src/share/vm/classfile/javaClasses.cpp
still contains the field, and also the comment is there.
In the corresponding java class, (jdk/src/share/classes/java/lang/Thread.java
), it is declared as private long
(probably because Java doesn't know pointers).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With