Wed, 09 Nov 2011 23:21:00 +0100
7110190: GCCause::to_string missing case for _adaptive_size_policy
Summary: Added case for _adaptive_size_policy
Reviewed-by: johnc, ysr
src/share/vm/gc_interface/gcCause.cpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/vm/gc_interface/gcCause.cpp Tue Nov 08 00:41:28 2011 -0500 1.2 +++ b/src/share/vm/gc_interface/gcCause.cpp Wed Nov 09 23:21:00 2011 +0100 1.3 @@ -42,12 +42,6 @@ 1.4 case _jvmti_force_gc: 1.5 return "JvmtiEnv ForceGarbageCollection"; 1.6 1.7 - case _no_gc: 1.8 - return "No GC"; 1.9 - 1.10 - case _allocation_failure: 1.11 - return "Allocation Failure"; 1.12 - 1.13 case _gc_locker: 1.14 return "GCLocker Initiated GC"; 1.15 1.16 @@ -57,6 +51,12 @@ 1.17 case _heap_dump: 1.18 return "Heap Dump Initiated GC"; 1.19 1.20 + case _no_gc: 1.21 + return "No GC"; 1.22 + 1.23 + case _allocation_failure: 1.24 + return "Allocation Failure"; 1.25 + 1.26 case _tenured_generation_full: 1.27 return "Tenured Generation Full"; 1.28 1.29 @@ -78,6 +78,9 @@ 1.30 case _old_generation_too_full_to_scavenge: 1.31 return "Old Generation Too Full To Scavenge"; 1.32 1.33 + case _adaptive_size_policy: 1.34 + return "Ergonomics"; 1.35 + 1.36 case _g1_inc_collection_pause: 1.37 return "G1 Evacuation Pause"; 1.38