mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
8043607: Add a GC id as a log decoration similar to PrintGCTimeStamps
Reviewed-by: jwilhelm, ehelin, tschatzl
This commit is contained in:
parent
ad2e593b80
commit
9672a26d51
32 changed files with 404 additions and 174 deletions
|
@ -25,6 +25,7 @@
|
|||
#ifndef SHARE_VM_MEMORY_REFERENCEPROCESSOR_HPP
|
||||
#define SHARE_VM_MEMORY_REFERENCEPROCESSOR_HPP
|
||||
|
||||
#include "gc_implementation/shared/gcTrace.hpp"
|
||||
#include "memory/referencePolicy.hpp"
|
||||
#include "memory/referenceProcessorStats.hpp"
|
||||
#include "memory/referenceType.hpp"
|
||||
|
@ -349,7 +350,8 @@ class ReferenceProcessor : public CHeapObj<mtGC> {
|
|||
OopClosure* keep_alive,
|
||||
VoidClosure* complete_gc,
|
||||
YieldClosure* yield,
|
||||
GCTimer* gc_timer);
|
||||
GCTimer* gc_timer,
|
||||
GCId gc_id);
|
||||
|
||||
// Delete entries in the discovered lists that have
|
||||
// either a null referent or are not active. Such
|
||||
|
@ -480,7 +482,8 @@ class ReferenceProcessor : public CHeapObj<mtGC> {
|
|||
OopClosure* keep_alive,
|
||||
VoidClosure* complete_gc,
|
||||
AbstractRefProcTaskExecutor* task_executor,
|
||||
GCTimer *gc_timer);
|
||||
GCTimer *gc_timer,
|
||||
GCId gc_id);
|
||||
|
||||
// Enqueue references at end of GC (called by the garbage collector)
|
||||
bool enqueue_discovered_references(AbstractRefProcTaskExecutor* task_executor = NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue