< prev index next >

src/hotspot/share/opto/locknode.cpp

Print this page
@@ -178,10 +178,11 @@
  //------------------------------do_monitor_enter-------------------------------
  void Parse::do_monitor_enter() {
    kill_dead_locals();
  
    C->set_has_monitors(true);
+   C->push_monitor();
  
    // Null check; get casted pointer.
    Node* obj = null_check(peek());
    // Check for locking null object
    if (stopped()) return;
< prev index next >