src/hotspot/share/prims/jvmtiEnvBase.cpp
changeset 58901 2700c409ff10
parent 58722 cba8afa5cfed
equal deleted inserted replaced
58900:434329f6f456 58901:2700c409ff10
  1212     }
  1212     }
  1213     JavaThreadState jts = thr->thread_state();
  1213     JavaThreadState jts = thr->thread_state();
  1214     if (jts == _thread_in_native) {
  1214     if (jts == _thread_in_native) {
  1215       state |= JVMTI_THREAD_STATE_IN_NATIVE;
  1215       state |= JVMTI_THREAD_STATE_IN_NATIVE;
  1216     }
  1216     }
  1217     OSThread* osThread = thr->osthread();
  1217     if (thr->is_interrupted(false)) {
  1218     if (osThread != NULL && osThread->interrupted()) {
       
  1219       state |= JVMTI_THREAD_STATE_INTERRUPTED;
  1218       state |= JVMTI_THREAD_STATE_INTERRUPTED;
  1220     }
  1219     }
  1221   }
  1220   }
  1222   infop->state = state;
  1221   infop->state = state;
  1223 
  1222