RFR: 8264016: [JVMCI] add some thread local fields for use by JVMCI

David Holmes dholmes at openjdk.java.net
Tue Mar 23 06:31:46 UTC 2021


On Tue, 23 Mar 2021 06:11:44 GMT, Tom Rodriguez <never at openjdk.org> wrote:

> 8264016: [JVMCI] add some thread local fields for use by JVMCI

Hi Tom,

Is it feasible to create a JVMCI helper side-object that is only created when needed, rather than embedding all the fields directly in the JavaThread instance?

Thanks,
David

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

> 1018:   intptr_t*  _jvmci_reserved0;
> 1019:   intptr_t*  _jvmci_reserved1;
> 1020:   oop        _jvmci_reserved_oop0;

Can this use OopStorage? We've been getting rid of oop fields and the corresponding oops_do support.

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

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


More information about the hotspot-dev mailing list