< prev index next >

src/hotspot/share/runtime/synchronizer.hpp

Print this page
*** 79,11 ***
      inflate_cause_wait = 2,
      inflate_cause_notify = 3,
      inflate_cause_hash_code = 4,
      inflate_cause_jni_enter = 5,
      inflate_cause_jni_exit = 6,
!     inflate_cause_nof = 7 // Number of causes
    } InflateCause;
  
    typedef enum {
      NOT_ENABLED    = 0,
      FATAL_EXIT     = 1,
--- 79,12 ---
      inflate_cause_wait = 2,
      inflate_cause_notify = 3,
      inflate_cause_hash_code = 4,
      inflate_cause_jni_enter = 5,
      inflate_cause_jni_exit = 6,
!     inflate_cause_cont_freeze = 7,
+     inflate_cause_nof = 8 // Number of causes
    } InflateCause;
  
    typedef enum {
      NOT_ENABLED    = 0,
      FATAL_EXIT     = 1,

*** 135,11 ***
    // Used to inflate a monitor as if it was done from the thread JavaThread.
    static ObjectMonitor* inflate_for(JavaThread* thread, oop obj, const InflateCause cause);
  
  private:
    // Shared implementation between the different LockingMode.
!   static ObjectMonitor* inflate_impl(oop obj, const InflateCause cause);
  
  public:
    // This version is only for internal use
    static void inflate_helper(oop obj);
    static const char* inflate_cause_name(const InflateCause cause);
--- 136,11 ---
    // Used to inflate a monitor as if it was done from the thread JavaThread.
    static ObjectMonitor* inflate_for(JavaThread* thread, oop obj, const InflateCause cause);
  
  private:
    // Shared implementation between the different LockingMode.
!   static ObjectMonitor* inflate_impl(JavaThread* inflating_thread, oop obj, const InflateCause cause);
  
  public:
    // This version is only for internal use
    static void inflate_helper(oop obj);
    static const char* inflate_cause_name(const InflateCause cause);
< prev index next >