< prev index next >

src/hotspot/share/code/codeCache.cpp

Print this page

        

@@ -1282,11 +1282,11 @@
       tty->print("%s", s.as_string());
     }
 
     if (heap->full_count() == 0) {
       if (PrintCodeHeapAnalytics) {
-        CompileBroker::print_heapinfo(tty, "all", 4096); // details, may be a lot!
+        CompileBroker::print_heapinfo(tty, "all", "4096"); // details, may be a lot!
       }
     }
   }
 
   heap->report_full();

@@ -1569,11 +1569,11 @@
             unallocated_capacity());
 }
 
 //---<  BEGIN  >--- CodeHeap State Analytics.
 
-void CodeCache::aggregate(outputStream *out, size_t granularity) {
+void CodeCache::aggregate(outputStream *out, const char* granularity) {
   FOR_ALL_ALLOCABLE_HEAPS(heap) {
     CodeHeapState::aggregate(out, (*heap), granularity);
   }
 }
 
< prev index next >