mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
8224600: Provide VM.events command
Reviewed-by: minqi, dholmes, mbaesken, clanger
This commit is contained in:
parent
2ead52addc
commit
dbc3f88d5c
7 changed files with 241 additions and 24 deletions
|
@ -73,7 +73,7 @@ class GCHeapLog : public EventLogBase<GCMessage> {
|
|||
void log_heap(CollectedHeap* heap, bool before);
|
||||
|
||||
public:
|
||||
GCHeapLog() : EventLogBase<GCMessage>("GC Heap History") {}
|
||||
GCHeapLog() : EventLogBase<GCMessage>("GC Heap History", "gc") {}
|
||||
|
||||
void log_heap_before(CollectedHeap* heap) {
|
||||
log_heap(heap, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue