mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8058235: identify GCs initiated to update allocation context stats
Reviewed-by: mikael, sjohanss
This commit is contained in:
parent
174af2ea34
commit
fada700e21
2 changed files with 4 additions and 0 deletions
|
@ -54,6 +54,9 @@ const char* GCCause::to_string(GCCause::Cause cause) {
|
||||||
case _wb_young_gc:
|
case _wb_young_gc:
|
||||||
return "WhiteBox Initiated Young GC";
|
return "WhiteBox Initiated Young GC";
|
||||||
|
|
||||||
|
case _update_allocation_context_stats:
|
||||||
|
return "Update Allocation Context Stats";
|
||||||
|
|
||||||
case _no_gc:
|
case _no_gc:
|
||||||
return "No GC";
|
return "No GC";
|
||||||
|
|
||||||
|
|
|
@ -47,6 +47,7 @@ class GCCause : public AllStatic {
|
||||||
_heap_inspection,
|
_heap_inspection,
|
||||||
_heap_dump,
|
_heap_dump,
|
||||||
_wb_young_gc,
|
_wb_young_gc,
|
||||||
|
_update_allocation_context_stats,
|
||||||
|
|
||||||
/* implementation independent, but reserved for GC use */
|
/* implementation independent, but reserved for GC use */
|
||||||
_no_gc,
|
_no_gc,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue