mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
8264016: [JVMCI] add some thread local fields for use by JVMCI
Reviewed-by: dholmes, iklam, coleenp
This commit is contained in:
parent
8cf1c62c34
commit
182b11c31a
3 changed files with 14 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue