8386910: Shenandoah: remove redundant logging of free set status

Reviewed-by: wkemper, xpeng, ruili
This commit is contained in:
Kelvin Nilsen 2026-06-29 20:32:45 +00:00
parent c2348e6452
commit 57f988d31c

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2024, 2025, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2024, 2026, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2021, 2022, Red Hat, Inc. All rights reserved.
* Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -204,8 +204,6 @@ bool ShenandoahConcurrentGC::collect(GCCause::Cause cause) {
// we will not age young-gen objects in the case that we skip evacuation.
entry_cleanup_early();
heap->free_set()->log_status_under_lock();
// Processing strong roots
// This may be skipped if there is nothing to update/evacuate.
// If so, strong_root_in_progress would be unset.