Lines Matching refs:code_blob_type

349 bool CodeCache::heap_available(int code_blob_type) {  in heap_available()  argument
352 return (code_blob_type == CodeBlobType::All); in heap_available()
355 return (code_blob_type == CodeBlobType::NonNMethod); in heap_available()
358 return (code_blob_type < CodeBlobType::All); in heap_available()
361 return (code_blob_type == CodeBlobType::NonNMethod) || in heap_available()
362 (code_blob_type == CodeBlobType::MethodNonProfiled); in heap_available()
366 const char* CodeCache::get_code_heap_flag_name(int code_blob_type) { in get_code_heap_flag_name() argument
367 switch(code_blob_type) { in get_code_heap_flag_name()
383 if (lhs->code_blob_type() == rhs->code_blob_type()) { in code_heap_compare()
386 return lhs->code_blob_type() - rhs->code_blob_type(); in code_heap_compare()
395 int type = heap->code_blob_type(); in add_heap()
407 void CodeCache::add_heap(ReservedSpace rs, const char* name, int code_blob_type) { in add_heap() argument
409 if (!heap_available(code_blob_type)) { in add_heap()
414 CodeHeap* heap = new CodeHeap(name, code_blob_type); in add_heap()
449 CodeHeap* CodeCache::get_code_heap(int code_blob_type) { in get_code_heap() argument
451 if ((*heap)->accepts(code_blob_type)) { in get_code_heap()
464 CodeBlob* CodeCache::first_blob(int code_blob_type) { in first_blob() argument
465 if (heap_available(code_blob_type)) { in first_blob()
466 return first_blob(get_code_heap(code_blob_type)); in first_blob()
485 CodeBlob* CodeCache::allocate(int size, int code_blob_type, int orig_code_blob_type) { in allocate() argument
487 NMethodSweeper::notify(code_blob_type); in allocate()
496 CodeHeap* heap = get_code_heap(code_blob_type); in allocate()
505 orig_code_blob_type = code_blob_type; in allocate()
513 int type = code_blob_type; in allocate()
528 if (type != code_blob_type && type != orig_code_blob_type && heap_available(type)) { in allocate()
808 int CodeCache::blob_count(int code_blob_type) { in blob_count() argument
809 CodeHeap* heap = get_code_heap(code_blob_type); in blob_count()
821 int CodeCache::nmethod_count(int code_blob_type) { in nmethod_count() argument
822 CodeHeap* heap = get_code_heap(code_blob_type); in nmethod_count()
834 int CodeCache::adapter_count(int code_blob_type) { in adapter_count() argument
835 CodeHeap* heap = get_code_heap(code_blob_type); in adapter_count()
847 address CodeCache::low_bound(int code_blob_type) { in low_bound() argument
848 CodeHeap* heap = get_code_heap(code_blob_type); in low_bound()
852 address CodeCache::high_bound(int code_blob_type) { in high_bound() argument
853 CodeHeap* heap = get_code_heap(code_blob_type); in high_bound()
865 size_t CodeCache::unallocated_capacity(int code_blob_type) { in unallocated_capacity() argument
866 CodeHeap* heap = get_code_heap(code_blob_type); in unallocated_capacity()
890 double CodeCache::reverse_free_ratio(int code_blob_type) { in reverse_free_ratio() argument
891 CodeHeap* heap = get_code_heap(code_blob_type); in reverse_free_ratio()
1232 void CodeCache::report_codemem_full(int code_blob_type, bool print) { in report_codemem_full() argument
1234 CodeHeap* heap = get_code_heap(code_blob_type); in report_codemem_full()
1243 get_code_heap_name(code_blob_type)); in report_codemem_full()
1245 get_code_heap_flag_name(code_blob_type)); in report_codemem_full()
1285 event.set_codeBlobType((u1)code_blob_type); in report_codemem_full()
1514 full_count += get_codemem_full_count(heap->code_blob_type()); in print_summary()