mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8202021: Improve variable naming in ReferenceProcesso
Reviewed-by: sangheki, sjohanss
This commit is contained in:
parent
73771f97e9
commit
deb5bf745f
14 changed files with 111 additions and 112 deletions
|
@ -260,7 +260,7 @@ bool PSMarkSweep::invoke_no_policy(bool clear_all_softrefs) {
|
|||
DerivedPointerTable::update_pointers();
|
||||
#endif
|
||||
|
||||
ReferenceProcessorPhaseTimes pt(_gc_timer, ref_processor()->num_q());
|
||||
ReferenceProcessorPhaseTimes pt(_gc_timer, ref_processor()->num_queues());
|
||||
|
||||
ref_processor()->enqueue_discovered_references(NULL, &pt);
|
||||
|
||||
|
@ -539,7 +539,7 @@ void PSMarkSweep::mark_sweep_phase1(bool clear_all_softrefs) {
|
|||
GCTraceTime(Debug, gc, phases) t("Reference Processing", _gc_timer);
|
||||
|
||||
ref_processor()->setup_policy(clear_all_softrefs);
|
||||
ReferenceProcessorPhaseTimes pt(_gc_timer, ref_processor()->num_q());
|
||||
ReferenceProcessorPhaseTimes pt(_gc_timer, ref_processor()->num_queues());
|
||||
const ReferenceProcessorStats& stats =
|
||||
ref_processor()->process_discovered_references(
|
||||
is_alive_closure(), mark_and_push_closure(), follow_stack_closure(), NULL, &pt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue