8331394: G1: Remove SKIP_RETIRED_FULL_REGIONS define in G1HRPrinter

Reviewed-by: gli, iwalulya
This commit is contained in:
Thomas Schatzl 2024-05-02 08:42:38 +00:00
parent 8bcd2e61ae
commit 33243d44a9

View File

@ -28,8 +28,6 @@
#include "gc/g1/g1HeapRegion.hpp"
#include "logging/log.hpp"
#define SKIP_RETIRED_FULL_REGIONS 1
class FreeRegionList;
class G1HRPrinter {
@ -58,9 +56,7 @@ public:
void retire(HeapRegion* hr) {
if (is_active()) {
if (!SKIP_RETIRED_FULL_REGIONS || hr->top() < hr->end()) {
print("RETIRE", hr);
}
print("RETIRE", hr);
}
}