--- a/hotspot/src/share/vm/runtime/objectMonitor.cpp Mon Jan 18 19:10:32 2016 +0100
+++ b/hotspot/src/share/vm/runtime/objectMonitor.cpp Tue Jan 19 11:00:29 2016 +0100
@@ -2470,4 +2470,8 @@
void ObjectMonitor::print() {
}
+
+void ObjectMonitor_test() {
+ ObjectMonitor::sanity_checks();
+}
#endif