< prev index next >

src/hotspot/share/gc/shared/gcCause.cpp

Print this page


   1 /*
   2  * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *


  87     case _cms_concurrent_mark:
  88       return "CMS Concurrent Mark";
  89 
  90     case _old_generation_expanded_on_last_scavenge:
  91       return "Old Generation Expanded On Last Scavenge";
  92 
  93     case _old_generation_too_full_to_scavenge:
  94       return "Old Generation Too Full To Scavenge";
  95 
  96     case _adaptive_size_policy:
  97       return "Ergonomics";
  98 
  99     case _g1_inc_collection_pause:
 100       return "G1 Evacuation Pause";
 101 
 102     case _g1_humongous_allocation:
 103       return "G1 Humongous Allocation";
 104 
 105     case _dcmd_gc_run:
 106       return "Diagnostic Command";















 107 
 108     case _z_timer:
 109       return "Timer";
 110 
 111     case _z_warmup:
 112       return "Warmup";
 113 
 114     case _z_allocation_rate:
 115       return "Allocation Rate";
 116 
 117     case _z_allocation_stall:
 118       return "Allocation Stall";
 119 
 120     case _z_proactive:
 121       return "Proactive";
 122 
 123     case _last_gc_cause:
 124       return "ILLEGAL VALUE - last gc cause - ILLEGAL VALUE";
 125 
 126     default:
   1 /*
   2  * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *


  87     case _cms_concurrent_mark:
  88       return "CMS Concurrent Mark";
  89 
  90     case _old_generation_expanded_on_last_scavenge:
  91       return "Old Generation Expanded On Last Scavenge";
  92 
  93     case _old_generation_too_full_to_scavenge:
  94       return "Old Generation Too Full To Scavenge";
  95 
  96     case _adaptive_size_policy:
  97       return "Ergonomics";
  98 
  99     case _g1_inc_collection_pause:
 100       return "G1 Evacuation Pause";
 101 
 102     case _g1_humongous_allocation:
 103       return "G1 Humongous Allocation";
 104 
 105     case _dcmd_gc_run:
 106       return "Diagnostic Command";
 107 
 108     case _shenandoah_allocation_failure_evac:
 109       return "Allocation Failure During Evacuation";
 110 
 111     case _shenandoah_stop_vm:
 112       return "Stopping VM";
 113 
 114     case _shenandoah_concurrent_gc:
 115       return "Concurrent GC";
 116 
 117     case _shenandoah_traversal_gc:
 118       return "Traversal GC";
 119 
 120     case _shenandoah_upgrade_to_full_gc:
 121       return "Upgrade To Full GC";
 122 
 123     case _z_timer:
 124       return "Timer";
 125 
 126     case _z_warmup:
 127       return "Warmup";
 128 
 129     case _z_allocation_rate:
 130       return "Allocation Rate";
 131 
 132     case _z_allocation_stall:
 133       return "Allocation Stall";
 134 
 135     case _z_proactive:
 136       return "Proactive";
 137 
 138     case _last_gc_cause:
 139       return "ILLEGAL VALUE - last gc cause - ILLEGAL VALUE";
 140 
 141     default:
< prev index next >