comparison src/share/vm/gc_interface/gcCause.cpp @ 4074:ab5107bee78c

7110190: GCCause::to_string missing case for _adaptive_size_policy Summary: Added case for _adaptive_size_policy Reviewed-by: johnc, ysr
author brutisso
date Wed, 09 Nov 2011 23:21:00 +0100
parents c798c277ddd1
children 9509c20bba28
comparison
equal deleted inserted replaced
4073:53074c2c4600 4074:ab5107bee78c
40 return "Allocation Profiler"; 40 return "Allocation Profiler";
41 41
42 case _jvmti_force_gc: 42 case _jvmti_force_gc:
43 return "JvmtiEnv ForceGarbageCollection"; 43 return "JvmtiEnv ForceGarbageCollection";
44 44
45 case _no_gc:
46 return "No GC";
47
48 case _allocation_failure:
49 return "Allocation Failure";
50
51 case _gc_locker: 45 case _gc_locker:
52 return "GCLocker Initiated GC"; 46 return "GCLocker Initiated GC";
53 47
54 case _heap_inspection: 48 case _heap_inspection:
55 return "Heap Inspection Initiated GC"; 49 return "Heap Inspection Initiated GC";
56 50
57 case _heap_dump: 51 case _heap_dump:
58 return "Heap Dump Initiated GC"; 52 return "Heap Dump Initiated GC";
53
54 case _no_gc:
55 return "No GC";
56
57 case _allocation_failure:
58 return "Allocation Failure";
59 59
60 case _tenured_generation_full: 60 case _tenured_generation_full:
61 return "Tenured Generation Full"; 61 return "Tenured Generation Full";
62 62
63 case _permanent_generation_full: 63 case _permanent_generation_full:
76 return "Old Generation Expanded On Last Scavenge"; 76 return "Old Generation Expanded On Last Scavenge";
77 77
78 case _old_generation_too_full_to_scavenge: 78 case _old_generation_too_full_to_scavenge:
79 return "Old Generation Too Full To Scavenge"; 79 return "Old Generation Too Full To Scavenge";
80 80
81 case _adaptive_size_policy:
82 return "Ergonomics";
83
81 case _g1_inc_collection_pause: 84 case _g1_inc_collection_pause:
82 return "G1 Evacuation Pause"; 85 return "G1 Evacuation Pause";
83 86
84 case _last_ditch_collection: 87 case _last_ditch_collection:
85 return "Last ditch collection"; 88 return "Last ditch collection";