< prev index next >

src/hotspot/share/runtime/frame.cpp

Print this page
@@ -571,13 +571,10 @@
         current < interpreter_frame_monitor_begin();
         current = next_monitor_in_interpreter_frame(current)) {
      st->print(" - obj    [");
      current->obj()->print_value_on(st);
      st->print_cr("]");
-     st->print(" - lock   [");
-     current->lock()->print_on(st, current->obj());
-     st->print_cr("]");
    }
    // monitor
    st->print_cr(" - monitor[" INTPTR_FORMAT "]", p2i(interpreter_frame_monitor_begin()));
    // bcp
    st->print(" - bcp    [" INTPTR_FORMAT "]", p2i(interpreter_frame_bcp()));

@@ -1082,19 +1079,10 @@
    assert(Universe::heap()->is_in_or_null(r), "bad receiver: " INTPTR_FORMAT " (" INTX_FORMAT ")", p2i(r), p2i(r));
    return r;
  }
  
  
- BasicLock* frame::get_native_monitor() {
-   nmethod* nm = (nmethod*)_cb;
-   assert(_cb != NULL && _cb->is_nmethod() && nm->method()->is_native(),
-          "Should not call this unless it's a native nmethod");
-   int byte_offset = in_bytes(nm->native_basic_lock_sp_offset());
-   assert(byte_offset >= 0, "should not see invalid offset");
-   return (BasicLock*) &sp()[byte_offset / wordSize];
- }
- 
  oop frame::get_native_receiver() {
    nmethod* nm = (nmethod*)_cb;
    assert(_cb != NULL && _cb->is_nmethod() && nm->method()->is_native(),
           "Should not call this unless it's a native nmethod");
    int byte_offset = in_bytes(nm->native_receiver_sp_offset());
< prev index next >