< prev index next >

src/share/vm/runtime/park.hpp

Print this page

        

@@ -45,11 +45,11 @@
  *
  */
 
 class Parker : public os::PlatformParker {
 private:
-  volatile int _counter ;
+  volatile intptr_t _counter ;
   Parker * FreeNext ;
   JavaThread * AssociatedWith ; // Current association
 
 public:
   Parker() : PlatformParker() {

@@ -61,11 +61,11 @@
   ~Parker() { ShouldNotReachHere(); }
 public:
   // For simplicity of interface with Java, all forms of park (indefinite,
   // relative, and absolute) are multiplexed into one call.
   void park(bool isAbsolute, jlong time);
-  void unpark();
+  void unpark(JavaThread *thread);
 
   // Lifecycle operators
   static Parker * Allocate (JavaThread * t) ;
   static void Release (Parker * e) ;
 private:
< prev index next >