Commit ce5ae51 1 parent 59e9700 commit ce5ae51 Copy full SHA for ce5ae51
File tree 2 files changed +3
-3
lines changed
src/hotspot/share/classfile
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2233,8 +2233,8 @@ oop java_lang_VirtualThread::continuation(oop vthread) {
2233
2233
return cont;
2234
2234
}
2235
2235
2236
- u2 java_lang_VirtualThread::state (oop vthread) {
2237
- return vthread->short_field_acquire (_state_offset);
2236
+ int java_lang_VirtualThread::state (oop vthread) {
2237
+ return vthread->int_field_acquire (_state_offset);
2238
2238
}
2239
2239
2240
2240
JavaThreadStatus java_lang_VirtualThread::map_state_to_thread_status (int state) {
Original file line number Diff line number Diff line change @@ -628,7 +628,7 @@ class java_lang_VirtualThread : AllStatic {
628
628
static oop vthread_scope ();
629
629
static oop carrier_thread (oop vthread);
630
630
static oop continuation (oop vthread);
631
- static u2 state (oop vthread);
631
+ static int state (oop vthread);
632
632
static JavaThreadStatus map_state_to_thread_status (int state);
633
633
static bool notify_jvmti_events ();
634
634
static void set_notify_jvmti_events (bool enable);
You can’t perform that action at this time.
0 commit comments