src/hotspot/share/runtime/rtmLocking.hpp
changeset 54807 33fe50b6d707
parent 53244 9807daeb47c4
equal deleted inserted replaced
54786:ebf733a324d4 54807:33fe50b6d707
   104   static int abortX_count_offset()        { return (int)offset_of(RTMLockingCounters, _abortX_count[0]); }
   104   static int abortX_count_offset()        { return (int)offset_of(RTMLockingCounters, _abortX_count[0]); }
   105 
   105 
   106 
   106 
   107   bool nonzero() {  return (_abort_count + _total_count) > 0; }
   107   bool nonzero() {  return (_abort_count + _total_count) > 0; }
   108 
   108 
   109   void print_on(outputStream* st);
   109   void print_on(outputStream* st) const;
   110   void print() { print_on(tty); }
   110   void print() const;
   111 };
   111 };
   112 
   112 
   113 #endif // SHARE_RUNTIME_RTMLOCKING_HPP
   113 #endif // SHARE_RUNTIME_RTMLOCKING_HPP