< prev index next >

src/hotspot/share/code/compiledMethod.cpp

Print this page
*** 82,10 ***
--- 82,12 ---
    }
    _has_unsafe_access          = 0;
    _has_method_handle_invokes  = 0;
    _has_wide_vectors           = 0;
    _has_monitors               = 0;
+   _preloaded                  = 0;
+   _has_clinit_barriers        = 0;
  }
  
  bool CompiledMethod::is_method_handle_return(address return_pc) {
    if (!has_method_handle_invokes())  return false;
    PcDesc* pd = pc_desc_at(return_pc);

*** 416,10 ***
--- 418,12 ---
        klass = ((Klass*)md);
      } else if (md->is_method()) {
        klass = ((Method*)md)->method_holder();
      } else if (md->is_methodData()) {
        klass = ((MethodData*)md)->method()->method_holder();
+     } else if (md->is_methodCounters()) {
+       klass = ((MethodCounters*)md)->method()->method_holder();
      } else {
        md->print();
        ShouldNotReachHere();
      }
      assert(klass->is_loader_alive(), "must be alive");
< prev index next >