equal
deleted
inserted
replaced
407 CompileBroker::handle_full_code_cache(code_blob_type); |
407 CompileBroker::handle_full_code_cache(code_blob_type); |
408 return NULL; |
408 return NULL; |
409 } |
409 } |
410 if (PrintCodeCacheExtension) { |
410 if (PrintCodeCacheExtension) { |
411 ResourceMark rm; |
411 ResourceMark rm; |
412 if (SegmentedCodeCache) { |
412 if (_heaps->length() >= 1) { |
413 tty->print("%s", heap->name()); |
413 tty->print("%s", heap->name()); |
414 } else { |
414 } else { |
415 tty->print("CodeCache"); |
415 tty->print("CodeCache"); |
416 } |
416 } |
417 tty->print_cr(" extended to [" INTPTR_FORMAT ", " INTPTR_FORMAT "] (" SSIZE_FORMAT " bytes)", |
417 tty->print_cr(" extended to [" INTPTR_FORMAT ", " INTPTR_FORMAT "] (" SSIZE_FORMAT " bytes)", |
1209 int max_nm_size = 0; |
1209 int max_nm_size = 0; |
1210 ResourceMark rm; |
1210 ResourceMark rm; |
1211 |
1211 |
1212 int i = 0; |
1212 int i = 0; |
1213 FOR_ALL_HEAPS(heap) { |
1213 FOR_ALL_HEAPS(heap) { |
1214 if (SegmentedCodeCache && Verbose) { |
1214 if ((_heaps->length() >= 1) && Verbose) { |
1215 tty->print_cr("-- %s --", (*heap)->name()); |
1215 tty->print_cr("-- %s --", (*heap)->name()); |
1216 } |
1216 } |
1217 FOR_ALL_BLOBS(cb, *heap) { |
1217 FOR_ALL_BLOBS(cb, *heap) { |
1218 total++; |
1218 total++; |
1219 if (cb->is_nmethod()) { |
1219 if (cb->is_nmethod()) { |
1358 |
1358 |
1359 void CodeCache::print_summary(outputStream* st, bool detailed) { |
1359 void CodeCache::print_summary(outputStream* st, bool detailed) { |
1360 FOR_ALL_HEAPS(heap_iterator) { |
1360 FOR_ALL_HEAPS(heap_iterator) { |
1361 CodeHeap* heap = (*heap_iterator); |
1361 CodeHeap* heap = (*heap_iterator); |
1362 size_t total = (heap->high_boundary() - heap->low_boundary()); |
1362 size_t total = (heap->high_boundary() - heap->low_boundary()); |
1363 if (SegmentedCodeCache) { |
1363 if (_heaps->length() >= 1) { |
1364 st->print("%s:", heap->name()); |
1364 st->print("%s:", heap->name()); |
1365 } else { |
1365 } else { |
1366 st->print("CodeCache:"); |
1366 st->print("CodeCache:"); |
1367 } |
1367 } |
1368 st->print_cr(" size=" SIZE_FORMAT "Kb used=" SIZE_FORMAT |
1368 st->print_cr(" size=" SIZE_FORMAT "Kb used=" SIZE_FORMAT |