hotspot/src/share/vm/runtime/thread.hpp
changeset 23855 c4574075402c
parent 23540 06f7d6e1f654
child 24331 c0bc7e5653fb
child 24351 61b33cc6d3cf
--- a/hotspot/src/share/vm/runtime/thread.hpp	Wed Mar 26 14:15:02 2014 +0100
+++ b/hotspot/src/share/vm/runtime/thread.hpp	Thu Apr 03 17:49:31 2014 +0400
@@ -1778,12 +1778,12 @@
   void set_done_attaching_via_jni() { _jni_attach_state = _attached_via_jni; OrderAccess::fence(); }
 private:
   // This field is used to determine if a thread has claimed
-  // a par_id: it is -1 if the thread has not claimed a par_id;
+  // a par_id: it is UINT_MAX if the thread has not claimed a par_id;
   // otherwise its value is the par_id that has been claimed.
-  int _claimed_par_id;
+  uint _claimed_par_id;
 public:
-  int get_claimed_par_id() { return _claimed_par_id; }
-  void set_claimed_par_id(int id) { _claimed_par_id = id;}
+  uint get_claimed_par_id() { return _claimed_par_id; }
+  void set_claimed_par_id(uint id) { _claimed_par_id = id;}
 };
 
 // Inline implementation of JavaThread::current