src/share/vm/oops/method.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/oops/method.cpp	Wed Sep 17 16:06:58 2014
--- new/src/share/vm/oops/method.cpp	Wed Sep 17 16:06:58 2014

*** 393,405 **** --- 393,403 ---- MethodCounters* Method::build_method_counters(Method* m, TRAPS) { methodHandle mh(m); ClassLoaderData* loader_data = mh->method_holder()->class_loader_data(); MethodCounters* counters = MethodCounters::allocate(loader_data, CHECK_NULL); ! if (mh->method_counters() == NULL) { mh->set_method_counters(counters); } else { ! if (!mh->init_method_counters(counters)) { MetadataFactory::free_metadata(loader_data, counters); } return mh->method_counters(); }

src/share/vm/oops/method.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File