RFR: 8272736: [JVMCI] Add API for reading and writing JVMCI thread locals

David Holmes dholmes at openjdk.java.net
Fri Aug 20 02:48:22 UTC 2021


On Thu, 19 Aug 2021 19:27:54 GMT, Tom Rodriguez <never at openjdk.org> wrote:

> 8272736: [JVMCI] Add API for reading and writing JVMCI thread locals

src/hotspot/share/runtime/thread.hpp line 961:

> 959: 
> 960:   // Fast thread locals for use by JVMCI
> 961:   jlong      _jvmci_reserved0;

Update: please ignore (hit wrong button) I now see this coming from Java.

We are trying to avoid use of Java types in code that does not directly interact with Java. Does this really need to be a jlong or does it just need to be 64-bit? Or does it need to be the same size as a ptr whatever that may be?

-------------

PR: https://git.openjdk.java.net/jdk/pull/5192


More information about the hotspot-dev mailing list