8316428: G1: Nmethod count statistics only count last code root set iterated
Reviewed-by: iwalulya, ayang
This commit is contained in:
parent
283c360392
commit
fab372d3a2
@ -849,7 +849,7 @@ public:
|
||||
// Scan the code root list attached to the current region
|
||||
r->code_roots_do(&cl);
|
||||
|
||||
_code_roots_scanned = cl.count();
|
||||
_code_roots_scanned += cl.count();
|
||||
|
||||
event.commit(GCId::current(), _worker_id, G1GCPhaseTimes::phase_name(_code_roots_phase));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user