Lines Matching refs:code_blob_type

347 bool CodeCache::heap_available(int code_blob_type) {  in heap_available()  argument
350 return (code_blob_type == CodeBlobType::All); in heap_available()
353 return (code_blob_type == CodeBlobType::NonNMethod); in heap_available()
356 return (code_blob_type < CodeBlobType::All); in heap_available()
359 return (code_blob_type == CodeBlobType::NonNMethod) || in heap_available()
360 (code_blob_type == CodeBlobType::MethodNonProfiled); in heap_available()
364 const char* CodeCache::get_code_heap_flag_name(int code_blob_type) { in get_code_heap_flag_name() argument
365 switch(code_blob_type) { in get_code_heap_flag_name()
381 if (lhs->code_blob_type() == rhs->code_blob_type()) { in code_heap_compare()
384 return lhs->code_blob_type() - rhs->code_blob_type(); in code_heap_compare()
393 int type = heap->code_blob_type(); in add_heap()
405 void CodeCache::add_heap(ReservedSpace rs, const char* name, int code_blob_type) { in add_heap() argument
407 if (!heap_available(code_blob_type)) { in add_heap()
412 CodeHeap* heap = new CodeHeap(name, code_blob_type); in add_heap()
447 CodeHeap* CodeCache::get_code_heap(int code_blob_type) { in get_code_heap() argument
449 if ((*heap)->accepts(code_blob_type)) { in get_code_heap()
462 CodeBlob* CodeCache::first_blob(int code_blob_type) { in first_blob() argument
463 if (heap_available(code_blob_type)) { in first_blob()
464 return first_blob(get_code_heap(code_blob_type)); in first_blob()
483 CodeBlob* CodeCache::allocate(int size, int code_blob_type, int orig_code_blob_type) { in allocate() argument
485 NMethodSweeper::notify(code_blob_type); in allocate()
494 CodeHeap* heap = get_code_heap(code_blob_type); in allocate()
503 orig_code_blob_type = code_blob_type; in allocate()
511 int type = code_blob_type; in allocate()
526 if (type != code_blob_type && type != orig_code_blob_type && heap_available(type)) { in allocate()
950 int CodeCache::blob_count(int code_blob_type) { in blob_count() argument
951 CodeHeap* heap = get_code_heap(code_blob_type); in blob_count()
963 int CodeCache::nmethod_count(int code_blob_type) { in nmethod_count() argument
964 CodeHeap* heap = get_code_heap(code_blob_type); in nmethod_count()
976 int CodeCache::adapter_count(int code_blob_type) { in adapter_count() argument
977 CodeHeap* heap = get_code_heap(code_blob_type); in adapter_count()
989 address CodeCache::low_bound(int code_blob_type) { in low_bound() argument
990 CodeHeap* heap = get_code_heap(code_blob_type); in low_bound()
994 address CodeCache::high_bound(int code_blob_type) { in high_bound() argument
995 CodeHeap* heap = get_code_heap(code_blob_type); in high_bound()
1007 size_t CodeCache::unallocated_capacity(int code_blob_type) { in unallocated_capacity() argument
1008 CodeHeap* heap = get_code_heap(code_blob_type); in unallocated_capacity()
1032 double CodeCache::reverse_free_ratio(int code_blob_type) { in reverse_free_ratio() argument
1033 CodeHeap* heap = get_code_heap(code_blob_type); in reverse_free_ratio()
1353 void CodeCache::report_codemem_full(int code_blob_type, bool print) { in report_codemem_full() argument
1355 CodeHeap* heap = get_code_heap(code_blob_type); in report_codemem_full()
1364 get_code_heap_name(code_blob_type)); in report_codemem_full()
1366 get_code_heap_flag_name(code_blob_type)); in report_codemem_full()
1407 event.set_codeBlobType((u1)code_blob_type); in report_codemem_full()
1636 full_count += get_codemem_full_count(heap->code_blob_type()); in print_summary()