src/share/vm/runtime/fprofiler.cpp

Print this page

        

@@ -159,11 +159,11 @@
   int s = size();
   counters = NEW_C_HEAP_ARRAY(int, s, mtInternal);
   for (int index = 0; index < s; index++) {
     counters[index] = 0;
   }
-  base = CodeCache::first_address();
+  base = CodeCache::low_bound();
 }
 
 void PCRecorder::record(address pc) {
   if (counters == NULL) return;
   assert(CodeCache::contains(pc), "must be in CodeCache");