mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-03 03:30:05 +00:00
dont incremement _num_objects_processed for follow-up chunks
This commit is contained in:
parent
af5c55854d
commit
66276985a6
@ -214,8 +214,6 @@ bool DFSClosure::probe_stack_pop() {
|
||||
|
||||
_current_pointee = _current_ref.dereference();
|
||||
|
||||
_num_objects_processed++;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -245,6 +243,8 @@ void DFSClosure::handle_oop() {
|
||||
_current_depth ++;
|
||||
_current_pointee->oop_iterate(this);
|
||||
_current_depth --;
|
||||
|
||||
_num_objects_processed++;
|
||||
}
|
||||
|
||||
void DFSClosure::handle_objarrayoop() {
|
||||
@ -266,6 +266,8 @@ void DFSClosure::handle_objarrayoop() {
|
||||
if (pointee_was_sampled(_current_pointee)) {
|
||||
add_chain();
|
||||
}
|
||||
|
||||
_num_objects_processed++;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user