mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8300575: JVMTI support when using alternative virtual thread implementation
Reviewed-by: lmesnik, sspitsyn, alanb
This commit is contained in:
parent
25bfed3b12
commit
83bea26df4
69 changed files with 558 additions and 121 deletions
|
@ -157,7 +157,7 @@ void JavaThread::set_threadOopHandles(oop p) {
|
|||
assert(_thread_oop_storage != nullptr, "not yet initialized");
|
||||
_threadObj = OopHandle(_thread_oop_storage, p);
|
||||
_vthread = OopHandle(_thread_oop_storage, p);
|
||||
_jvmti_vthread = OopHandle(_thread_oop_storage, nullptr);
|
||||
_jvmti_vthread = OopHandle(_thread_oop_storage, p->is_a(vmClasses::BoundVirtualThread_klass()) ? p : nullptr);
|
||||
_scopedValueCache = OopHandle(_thread_oop_storage, nullptr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue