RFR: 8264016: [JVMCI] add some thread local fields for use by JVMCI
Ron Pressler
rpressler at openjdk.java.net
Wed Mar 24 11:13:41 UTC 2021
On Wed, 24 Mar 2021 07:12:26 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> 8264016: [JVMCI] add some thread local fields for use by JVMCI
>
> Marked as reviewed by dholmes (Reviewer).
Note that in Loom, j.l.Thread is no longer tied to a JavaThread, and could migrate among JavaThreads, potentially at any safepoint, unless specifically pinned. Thread-local information that is logically associated with the j.l.Thread can be placed as a field on JavaThread if it's only set and used while the j.l.Thread is mounted on the JavaThread (i.e. between consecutive safepoints); otherwise, it should go on the j.l.Thread class.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3147
More information about the hotspot-dev
mailing list