src/hotspot/share/runtime/objectMonitor.hpp
changeset 54725 bfa52d3068f5
parent 54609 04857e2cd509
child 54732 2d012a75d35c
--- a/src/hotspot/share/runtime/objectMonitor.hpp	Mon May 06 21:50:20 2019 +0200
+++ b/src/hotspot/share/runtime/objectMonitor.hpp	Mon May 06 15:25:57 2019 -0400
@@ -291,6 +291,9 @@
   void      notify(TRAPS);
   void      notifyAll(TRAPS);
 
+  void      print() const { print_on(tty); }
+  void      print_on(outputStream* st) const;
+
 // Use the following at your own risk
   intptr_t  complete_exit(TRAPS);
   void      reenter(intptr_t recursions, TRAPS);