提交 6686a725 编写于 作者: B brutisso

7110190: GCCause::to_string missing case for _adaptive_size_policy

Summary: Added case for _adaptive_size_policy
Reviewed-by: johnc, ysr
上级 0579e53a
...@@ -42,12 +42,6 @@ const char* GCCause::to_string(GCCause::Cause cause) { ...@@ -42,12 +42,6 @@ const char* GCCause::to_string(GCCause::Cause cause) {
case _jvmti_force_gc: case _jvmti_force_gc:
return "JvmtiEnv ForceGarbageCollection"; return "JvmtiEnv ForceGarbageCollection";
case _no_gc:
return "No GC";
case _allocation_failure:
return "Allocation Failure";
case _gc_locker: case _gc_locker:
return "GCLocker Initiated GC"; return "GCLocker Initiated GC";
...@@ -57,6 +51,12 @@ const char* GCCause::to_string(GCCause::Cause cause) { ...@@ -57,6 +51,12 @@ const char* GCCause::to_string(GCCause::Cause cause) {
case _heap_dump: case _heap_dump:
return "Heap Dump Initiated GC"; return "Heap Dump Initiated GC";
case _no_gc:
return "No GC";
case _allocation_failure:
return "Allocation Failure";
case _tenured_generation_full: case _tenured_generation_full:
return "Tenured Generation Full"; return "Tenured Generation Full";
...@@ -78,6 +78,9 @@ const char* GCCause::to_string(GCCause::Cause cause) { ...@@ -78,6 +78,9 @@ const char* GCCause::to_string(GCCause::Cause cause) {
case _old_generation_too_full_to_scavenge: case _old_generation_too_full_to_scavenge:
return "Old Generation Too Full To Scavenge"; return "Old Generation Too Full To Scavenge";
case _adaptive_size_policy:
return "Ergonomics";
case _g1_inc_collection_pause: case _g1_inc_collection_pause:
return "G1 Evacuation Pause"; return "G1 Evacuation Pause";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册