8077400: Unnecessary and incorrect "Code Cache Roots" G1 log entry
Reviewed-by: tschatzl, brutisso, sangheki
This commit is contained in:
parent
2cefed232b
commit
f078697a45
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2013, 2014 Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2013, 2015 Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -263,7 +263,6 @@ G1GCPhaseTimes::G1GCPhaseTimes(uint max_gc_threads) :
|
|||||||
_gc_par_phases[SystemDictionaryRoots] = new WorkerDataArray<double>(max_gc_threads, "SystemDictionary Roots (ms)", true, G1Log::LevelFinest, 3);
|
_gc_par_phases[SystemDictionaryRoots] = new WorkerDataArray<double>(max_gc_threads, "SystemDictionary Roots (ms)", true, G1Log::LevelFinest, 3);
|
||||||
_gc_par_phases[CLDGRoots] = new WorkerDataArray<double>(max_gc_threads, "CLDG Roots (ms)", true, G1Log::LevelFinest, 3);
|
_gc_par_phases[CLDGRoots] = new WorkerDataArray<double>(max_gc_threads, "CLDG Roots (ms)", true, G1Log::LevelFinest, 3);
|
||||||
_gc_par_phases[JVMTIRoots] = new WorkerDataArray<double>(max_gc_threads, "JVMTI Roots (ms)", true, G1Log::LevelFinest, 3);
|
_gc_par_phases[JVMTIRoots] = new WorkerDataArray<double>(max_gc_threads, "JVMTI Roots (ms)", true, G1Log::LevelFinest, 3);
|
||||||
_gc_par_phases[CodeCacheRoots] = new WorkerDataArray<double>(max_gc_threads, "CodeCache Roots (ms)", true, G1Log::LevelFinest, 3);
|
|
||||||
_gc_par_phases[CMRefRoots] = new WorkerDataArray<double>(max_gc_threads, "CM RefProcessor Roots (ms)", true, G1Log::LevelFinest, 3);
|
_gc_par_phases[CMRefRoots] = new WorkerDataArray<double>(max_gc_threads, "CM RefProcessor Roots (ms)", true, G1Log::LevelFinest, 3);
|
||||||
_gc_par_phases[WaitForStrongCLD] = new WorkerDataArray<double>(max_gc_threads, "Wait For Strong CLD (ms)", true, G1Log::LevelFinest, 3);
|
_gc_par_phases[WaitForStrongCLD] = new WorkerDataArray<double>(max_gc_threads, "Wait For Strong CLD (ms)", true, G1Log::LevelFinest, 3);
|
||||||
_gc_par_phases[WeakCLDRoots] = new WorkerDataArray<double>(max_gc_threads, "Weak CLD Roots (ms)", true, G1Log::LevelFinest, 3);
|
_gc_par_phases[WeakCLDRoots] = new WorkerDataArray<double>(max_gc_threads, "Weak CLD Roots (ms)", true, G1Log::LevelFinest, 3);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2013, 2014 Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2013, 2015 Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -51,7 +51,6 @@ class G1GCPhaseTimes : public CHeapObj<mtGC> {
|
|||||||
SystemDictionaryRoots,
|
SystemDictionaryRoots,
|
||||||
CLDGRoots,
|
CLDGRoots,
|
||||||
JVMTIRoots,
|
JVMTIRoots,
|
||||||
CodeCacheRoots,
|
|
||||||
CMRefRoots,
|
CMRefRoots,
|
||||||
WaitForStrongCLD,
|
WaitForStrongCLD,
|
||||||
WeakCLDRoots,
|
WeakCLDRoots,
|
||||||
|
@ -326,10 +326,6 @@ void G1RootProcessor::process_vm_roots(OopClosure* strong_roots,
|
|||||||
void G1RootProcessor::scan_remembered_sets(G1ParPushHeapRSClosure* scan_rs,
|
void G1RootProcessor::scan_remembered_sets(G1ParPushHeapRSClosure* scan_rs,
|
||||||
OopClosure* scan_non_heap_weak_roots,
|
OopClosure* scan_non_heap_weak_roots,
|
||||||
uint worker_i) {
|
uint worker_i) {
|
||||||
G1GCPhaseTimes* phase_times = _g1h->g1_policy()->phase_times();
|
|
||||||
G1GCParPhaseTimesTracker x(phase_times, G1GCPhaseTimes::CodeCacheRoots, worker_i);
|
|
||||||
|
|
||||||
// Now scan the complement of the collection set.
|
|
||||||
G1CodeBlobClosure scavenge_cs_nmethods(scan_non_heap_weak_roots);
|
G1CodeBlobClosure scavenge_cs_nmethods(scan_non_heap_weak_roots);
|
||||||
|
|
||||||
_g1h->g1_rem_set()->oops_into_collection_set_do(scan_rs, &scavenge_cs_nmethods, worker_i);
|
_g1h->g1_rem_set()->oops_into_collection_set_do(scan_rs, &scavenge_cs_nmethods, worker_i);
|
||||||
|
@ -66,7 +66,6 @@ public class TestGCLogMessages {
|
|||||||
new LogMessageWithLevel("SystemDictionary Roots", Level.FINEST),
|
new LogMessageWithLevel("SystemDictionary Roots", Level.FINEST),
|
||||||
new LogMessageWithLevel("CLDG Roots", Level.FINEST),
|
new LogMessageWithLevel("CLDG Roots", Level.FINEST),
|
||||||
new LogMessageWithLevel("JVMTI Roots", Level.FINEST),
|
new LogMessageWithLevel("JVMTI Roots", Level.FINEST),
|
||||||
new LogMessageWithLevel("CodeCache Roots", Level.FINEST),
|
|
||||||
new LogMessageWithLevel("SATB Filtering", Level.FINEST),
|
new LogMessageWithLevel("SATB Filtering", Level.FINEST),
|
||||||
new LogMessageWithLevel("CM RefProcessor Roots", Level.FINEST),
|
new LogMessageWithLevel("CM RefProcessor Roots", Level.FINEST),
|
||||||
new LogMessageWithLevel("Wait For Strong CLD", Level.FINEST),
|
new LogMessageWithLevel("Wait For Strong CLD", Level.FINEST),
|
||||||
|
Loading…
Reference in New Issue
Block a user