Skip to content

Commit

Permalink
Fix old gen usage of shFreeSet::log_status
Browse files Browse the repository at this point in the history
  • Loading branch information
earthling-amzn committed Oct 2, 2024
1 parent d4ee79e commit 275e76d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/hotspot/share/gc/shenandoah/shenandoahOldGC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,7 @@ bool ShenandoahOldGC::collect(GCCause::Cause cause) {
// the space. This would be the last action if there is nothing to evacuate.
entry_cleanup_early();

{
ShenandoahHeapLocker locker(heap->lock());
heap->free_set()->log_status();
}
heap->free_set()->log_status_under_lock();

assert(!heap->is_concurrent_strong_root_in_progress(), "No evacuations during old gc.");

Expand Down

0 comments on commit 275e76d

Please sign in to comment.