mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-29 14:52:52 +00:00
8210714: ZGC: ZWeakRootsIterator should no longer call reset/finish_dead_counter()
Reviewed-by: eosterlund
This commit is contained in:
parent
26af771191
commit
0f8cbbc54c
@ -252,12 +252,10 @@ ZWeakRootsIterator::ZWeakRootsIterator() :
|
||||
_jfr_weak(this) {
|
||||
assert(SafepointSynchronize::is_at_safepoint(), "Should be at safepoint");
|
||||
ZStatTimer timer(ZSubPhasePauseWeakRootsSetup);
|
||||
StringTable::reset_dead_counter();
|
||||
}
|
||||
|
||||
ZWeakRootsIterator::~ZWeakRootsIterator() {
|
||||
ZStatTimer timer(ZSubPhasePauseWeakRootsTeardown);
|
||||
StringTable::finish_dead_counter();
|
||||
}
|
||||
|
||||
void ZWeakRootsIterator::do_jvmti_weak_export(BoolObjectClosure* is_alive, OopClosure* cl) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user