hotspot/src/share/vm/runtime/sweeper.cpp
changeset 26578 1cb9e59a06ab
parent 25351 7c198a690050
child 26796 666464578742
--- a/hotspot/src/share/vm/runtime/sweeper.cpp	Thu Sep 04 23:49:17 2014 -0700
+++ b/hotspot/src/share/vm/runtime/sweeper.cpp	Fri Sep 05 16:07:22 2014 +0200
@@ -618,7 +618,7 @@
         if (mc == NULL) {
           // Sometimes we can get here without MethodCounters. For example if we run with -Xcomp.
           // Try to allocate them.
-          mc = Method::build_method_counters(nm->method(), Thread::current());
+          mc = nm->method()->get_method_counters(Thread::current());
         }
         if (mc != NULL) {
           // Snapshot the value as it's changed concurrently