Update src/hotspot/share/gc/shared/referenceProcessorPhaseTimes.cpp

Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
This commit is contained in:
Thomas Schatzl 2026-01-27 14:59:29 +01:00 committed by GitHub
parent 97b28c386d
commit 77864ee773
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -196,7 +196,7 @@ void ReferenceProcessorPhaseTimes::reset() {
_soft_weak_final_refs_phase_worker_time_sec->reset();
for (int i = 0; i < number_of_subclasses_of_ref; i++) {
::new (&_ref_dropped[i]) Atomic<size_t>{};
_ref_dropped[i].store_relaxed(0);
_ref_discovered[i] = 0;
}