mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-07 13:38:49 +00:00
review: fixed minor typos in newly added comments
This commit is contained in:
parent
e573566840
commit
65784f933b
@ -58,11 +58,11 @@ JvmtiThreadState::JvmtiThreadState(JavaThread* thread, oop thread_oop)
|
||||
assert(JvmtiThreadState_lock->is_locked(), "sanity check");
|
||||
|
||||
// The _thread field is a link to the JavaThread associated with JvmtiThreadState.
|
||||
// The _thread_saved field is used for carrier threads only when a virtual thread,
|
||||
// The _thread_saved field is used for carrier threads only when a virtual thread
|
||||
// is mounted. Otherwise, it must be set to nullptr.
|
||||
// Carrier and virtual threads can temporarily share same JavaThread. In such a case,
|
||||
// only virtual _thread should have a link from JvmtiThreadState to JavaThread.
|
||||
// The carrier thread _thread filed is set to nullptr if a virtual thread is monted.
|
||||
// The carrier thread _thread field is set to nullptr if a virtual thread is monted.
|
||||
// This is important for interp-only mechanism.
|
||||
if (JvmtiEnvBase::is_thread_carrying_vthread(thread, thread_oop)) {
|
||||
_thread = nullptr;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user