8325464: GCCause.java out of sync with gcCause.hpp

Reviewed-by: stefank, tschatzl
This commit is contained in:
yifeng.jyf 2024-02-10 14:07:23 +00:00 committed by Denghui Dong
parent 6c7029ffd4
commit 71d2dbd0b6

View File

@ -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");