From 71d2dbd0b637b75a98115b6d867669b574d7baa8 Mon Sep 17 00:00:00 2001 From: "yifeng.jyf" Date: Sat, 10 Feb 2024 14:07:23 +0000 Subject: [PATCH] 8325464: GCCause.java out of sync with gcCause.hpp Reviewed-by: stefank, tschatzl --- .../sun/jvm/hotspot/gc/shared/GCCause.java | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/shared/GCCause.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/shared/GCCause.java index 5bed5831259..4320f61bf36 100644 --- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/shared/GCCause.java +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/shared/GCCause.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -37,35 +37,37 @@ public enum GCCause { _heap_dump ("Heap Dump Initiated GC"), _wb_young_gc ("WhiteBox Initiated Young GC"), _wb_full_gc ("WhiteBox Initiated Full GC"), + _wb_breakpoint ("WhiteBox Initiated Run to Breakpoint"), _no_gc ("No GC"), _no_cause_specified ("Unknown GCCause"), _allocation_failure ("Allocation Failure"), - _tenured_generation_full ("Tenured Generation Full"), + _codecache_GC_threshold ("CodeCache GC Threshold"), + _codecache_GC_aggressive ("CodeCache GC Aggressive"), _metadata_GC_threshold ("Metadata GC Threshold"), _metadata_GC_clear_soft_refs ("Metadata GC Clear Soft References"), - _old_generation_expanded_on_last_scavenge ("Old Generation Expanded On Last Scavenge"), - _old_generation_too_full_to_scavenge ("Old Generation Too Full To Scavenge"), _adaptive_size_policy ("Ergonomics"), _g1_inc_collection_pause ("G1 Evacuation Pause"), + _g1_compaction_pause ("G1 Compaction Pause"), _g1_humongous_allocation ("G1 Humongous Allocation"), + _g1_periodic_collection ("G1 Periodic Collection"), _dcmd_gc_run ("Diagnostic Command"), + _shenandoah_allocation_failure_evac ("Allocation Failure During Evacuation"), + _shenandoah_stop_vm ("Stopping VM"), + _shenandoah_concurrent_gc ("Concurrent GC"), + _shenandoah_upgrade_to_full_gc ("Upgrade To Full GC"), + _z_timer ("Timer"), _z_warmup ("Warmup"), _z_allocation_rate ("Allocation Rate"), _z_allocation_stall ("Allocation Stall"), _z_proactive ("Proactive"), - - _shenandoah_allocation_failure_evac ("Allocation Failure During Evacuation"), - _shenandoah_stop_vm ("Stopping VM"), - _shenandoah_concurrent_gc ("Concurrent GC"), - _shenandoah_traversal_gc ("Traversal GC"), - _shenandoah_upgrade_to_full_gc ("Upgrade To Full GC"), + _z_high_usage ("High Usage"), _last_gc_cause ("ILLEGAL VALUE - last gc cause - ILLEGAL VALUE");