7110190: GCCause::to_string missing case for _adaptive_size_policy
Added case for _adaptive_size_policy Reviewed-by: johnc, ysr
This commit is contained in:
parent
44b419af51
commit
911637a272
@ -42,12 +42,6 @@ const char* GCCause::to_string(GCCause::Cause cause) {
|
||||
case _jvmti_force_gc:
|
||||
return "JvmtiEnv ForceGarbageCollection";
|
||||
|
||||
case _no_gc:
|
||||
return "No GC";
|
||||
|
||||
case _allocation_failure:
|
||||
return "Allocation Failure";
|
||||
|
||||
case _gc_locker:
|
||||
return "GCLocker Initiated GC";
|
||||
|
||||
@ -57,6 +51,12 @@ const char* GCCause::to_string(GCCause::Cause cause) {
|
||||
case _heap_dump:
|
||||
return "Heap Dump Initiated GC";
|
||||
|
||||
case _no_gc:
|
||||
return "No GC";
|
||||
|
||||
case _allocation_failure:
|
||||
return "Allocation Failure";
|
||||
|
||||
case _tenured_generation_full:
|
||||
return "Tenured Generation Full";
|
||||
|
||||
@ -78,6 +78,9 @@ const char* GCCause::to_string(GCCause::Cause cause) {
|
||||
case _old_generation_too_full_to_scavenge:
|
||||
return "Old Generation Too Full To Scavenge";
|
||||
|
||||
case _adaptive_size_policy:
|
||||
return "Ergonomics";
|
||||
|
||||
case _g1_inc_collection_pause:
|
||||
return "G1 Evacuation Pause";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user