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

Reviewed-by: dholmes, iklam, coleenp
This commit is contained in:
Tom Rodriguez 2021-03-30 04:26:56 +00:00
parent 8cf1c62c34
commit 182b11c31a
3 changed files with 14 additions and 0 deletions

View file

@ -1202,6 +1202,9 @@ JavaThread::JavaThread() :
_pending_failed_speculation(0),
_jvmci{nullptr},
_jvmci_counters(nullptr),
_jvmci_reserved0(nullptr),
_jvmci_reserved1(nullptr),
_jvmci_reserved_oop0(nullptr),
#endif // INCLUDE_JVMCI
_exception_oop(oop()),
@ -2310,6 +2313,9 @@ void JavaThread::oops_do_no_frames(OopClosure* f, CodeBlobClosure* cf) {
f->do_oop((oop*) &_vm_result);
f->do_oop((oop*) &_exception_oop);
f->do_oop((oop*) &_pending_async_exception);
#if INCLUDE_JVMCI
f->do_oop((oop*) &_jvmci_reserved_oop0);
#endif
if (jvmti_thread_state() != NULL) {
jvmti_thread_state()->oops_do(f, cf);