src/hotspot/share/runtime/rtmLocking.hpp
changeset 54807 33fe50b6d707
parent 53244 9807daeb47c4
--- a/src/hotspot/share/runtime/rtmLocking.hpp	Thu May 09 14:28:30 2019 +0200
+++ b/src/hotspot/share/runtime/rtmLocking.hpp	Fri May 10 09:05:29 2019 -0400
@@ -106,8 +106,8 @@
 
   bool nonzero() {  return (_abort_count + _total_count) > 0; }
 
-  void print_on(outputStream* st);
-  void print() { print_on(tty); }
+  void print_on(outputStream* st) const;
+  void print() const;
 };
 
 #endif // SHARE_RUNTIME_RTMLOCKING_HPP