diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/diagnoser/EventAbnormalDetector.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/diagnoser/EventAbnormalDetector.java index 58a7ef29..9486e2a6 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/diagnoser/EventAbnormalDetector.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/diagnoser/EventAbnormalDetector.java @@ -14,10 +14,10 @@ package org.eclipse.jifa.gclog.diagnoser; import org.eclipse.jifa.gclog.event.GCEvent; -import org.eclipse.jifa.gclog.event.evnetInfo.CpuTime; -import org.eclipse.jifa.gclog.event.evnetInfo.GCEventBooleanType; -import org.eclipse.jifa.gclog.event.evnetInfo.GCMemoryItem; -import org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea; +import org.eclipse.jifa.gclog.event.eventInfo.CpuTime; +import org.eclipse.jifa.gclog.event.eventInfo.GCEventBooleanType; +import org.eclipse.jifa.gclog.event.eventInfo.GCMemoryItem; +import org.eclipse.jifa.gclog.event.eventInfo.MemoryArea; import org.eclipse.jifa.gclog.model.GCEventType; import org.eclipse.jifa.gclog.model.GCModel; @@ -39,13 +39,13 @@ import static org.eclipse.jifa.gclog.diagnoser.AbnormalType.BAD_USR; import static org.eclipse.jifa.gclog.diagnoser.AbnormalType.BAD_YOUNG_GEN_CAPACITY; import static org.eclipse.jifa.gclog.diagnoser.AbnormalType.TO_SPACE_EXHAUSTED; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCEventBooleanType.GC_AFTER_REMARK; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCEventBooleanType.GC_AT_END_OF_OLD_CYCLE; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.HEAP; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.HUMONGOUS; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.METASPACE; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.OLD; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.YOUNG; +import static org.eclipse.jifa.gclog.event.eventInfo.GCEventBooleanType.GC_AFTER_REMARK; +import static org.eclipse.jifa.gclog.event.eventInfo.GCEventBooleanType.GC_AT_END_OF_OLD_CYCLE; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.HEAP; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.HUMONGOUS; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.METASPACE; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.OLD; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.YOUNG; import static org.eclipse.jifa.gclog.util.Constant.UNKNOWN_DOUBLE; import static org.eclipse.jifa.gclog.util.Constant.UNKNOWN_INT; diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/diagnoser/GlobalDiagnoser.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/diagnoser/GlobalDiagnoser.java index 47939197..6812d1b3 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/diagnoser/GlobalDiagnoser.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/diagnoser/GlobalDiagnoser.java @@ -20,7 +20,7 @@ import org.eclipse.jifa.common.domain.exception.CommonException; import org.eclipse.jifa.common.domain.exception.ShouldNotReachHereException; import org.eclipse.jifa.gclog.event.TimedEvent; -import org.eclipse.jifa.gclog.event.evnetInfo.GCCause; +import org.eclipse.jifa.gclog.event.eventInfo.GCCause; import org.eclipse.jifa.gclog.model.GCEventType; import org.eclipse.jifa.gclog.model.GCModel; import org.eclipse.jifa.gclog.model.ZGCModel; diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/GCEvent.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/GCEvent.java index 792ac04a..17390d2d 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/GCEvent.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/GCEvent.java @@ -15,14 +15,14 @@ import org.eclipse.jifa.common.domain.exception.ShouldNotReachHereException; import org.eclipse.jifa.gclog.diagnoser.GlobalDiagnoseInfo; -import org.eclipse.jifa.gclog.event.evnetInfo.CpuTime; -import org.eclipse.jifa.gclog.event.evnetInfo.GCCause; -import org.eclipse.jifa.gclog.event.evnetInfo.GCEventBooleanType; -import org.eclipse.jifa.gclog.event.evnetInfo.GCEventLevel; -import org.eclipse.jifa.gclog.event.evnetInfo.GCMemoryItem; -import org.eclipse.jifa.gclog.event.evnetInfo.GCPause; -import org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea; -import org.eclipse.jifa.gclog.event.evnetInfo.ReferenceGC; +import org.eclipse.jifa.gclog.event.eventInfo.CpuTime; +import org.eclipse.jifa.gclog.event.eventInfo.GCCause; +import org.eclipse.jifa.gclog.event.eventInfo.GCEventBooleanType; +import org.eclipse.jifa.gclog.event.eventInfo.GCEventLevel; +import org.eclipse.jifa.gclog.event.eventInfo.GCMemoryItem; +import org.eclipse.jifa.gclog.event.eventInfo.GCPause; +import org.eclipse.jifa.gclog.event.eventInfo.MemoryArea; +import org.eclipse.jifa.gclog.event.eventInfo.ReferenceGC; import org.eclipse.jifa.gclog.model.GCEventType; import org.eclipse.jifa.gclog.model.GCModel; import org.eclipse.jifa.gclog.util.Constant; @@ -36,9 +36,9 @@ import java.util.Map; import java.util.function.Consumer; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCEventLevel.EVENT; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCEventLevel.PHASE; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.values; +import static org.eclipse.jifa.gclog.event.eventInfo.GCEventLevel.EVENT; +import static org.eclipse.jifa.gclog.event.eventInfo.GCEventLevel.PHASE; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.values; import static org.eclipse.jifa.gclog.util.Constant.KB2MB; public class GCEvent extends TimedEvent { diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/CpuTime.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/CpuTime.java similarity index 96% rename from analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/CpuTime.java rename to analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/CpuTime.java index 08441589..ab259eb1 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/CpuTime.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/CpuTime.java @@ -11,7 +11,7 @@ * SPDX-License-Identifier: EPL-2.0 ********************************************************************************/ -package org.eclipse.jifa.gclog.event.evnetInfo; +package org.eclipse.jifa.gclog.event.eventInfo; import lombok.AllArgsConstructor; import lombok.Data; diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/GCCause.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/GCCause.java similarity index 99% rename from analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/GCCause.java rename to analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/GCCause.java index 8a92b4a9..2450f56a 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/GCCause.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/GCCause.java @@ -10,7 +10,7 @@ * * SPDX-License-Identifier: EPL-2.0 ********************************************************************************/ -package org.eclipse.jifa.gclog.event.evnetInfo; +package org.eclipse.jifa.gclog.event.eventInfo; import java.util.HashMap; import java.util.List; diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/GCEventBooleanType.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/GCEventBooleanType.java similarity index 96% rename from analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/GCEventBooleanType.java rename to analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/GCEventBooleanType.java index 670f4574..c45c2e39 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/GCEventBooleanType.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/GCEventBooleanType.java @@ -11,7 +11,7 @@ * SPDX-License-Identifier: EPL-2.0 ********************************************************************************/ -package org.eclipse.jifa.gclog.event.evnetInfo; +package org.eclipse.jifa.gclog.event.eventInfo; /* * This class records some boolean types related to a GCEvent. They will be saved in a BitSet of GCEvent, diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/GCEventLevel.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/GCEventLevel.java similarity index 92% rename from analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/GCEventLevel.java rename to analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/GCEventLevel.java index 31ff4794..b9ac697a 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/GCEventLevel.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/GCEventLevel.java @@ -11,7 +11,7 @@ * SPDX-License-Identifier: EPL-2.0 ********************************************************************************/ -package org.eclipse.jifa.gclog.event.evnetInfo; +package org.eclipse.jifa.gclog.event.eventInfo; public enum GCEventLevel { EVENT, diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/GCMemoryItem.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/GCMemoryItem.java similarity index 99% rename from analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/GCMemoryItem.java rename to analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/GCMemoryItem.java index 9fd3f614..3a0f1c5f 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/GCMemoryItem.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/GCMemoryItem.java @@ -11,7 +11,7 @@ * SPDX-License-Identifier: EPL-2.0 ********************************************************************************/ -package org.eclipse.jifa.gclog.event.evnetInfo; +package org.eclipse.jifa.gclog.event.eventInfo; import lombok.AllArgsConstructor; import lombok.Data; diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/GCPause.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/GCPause.java similarity index 93% rename from analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/GCPause.java rename to analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/GCPause.java index 5b9fc14c..6658f309 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/GCPause.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/GCPause.java @@ -11,7 +11,7 @@ * SPDX-License-Identifier: EPL-2.0 ********************************************************************************/ -package org.eclipse.jifa.gclog.event.evnetInfo; +package org.eclipse.jifa.gclog.event.eventInfo; public enum GCPause { PAUSE, diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/MemoryArea.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/MemoryArea.java similarity index 97% rename from analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/MemoryArea.java rename to analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/MemoryArea.java index 8cfa78e5..226fbaf0 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/MemoryArea.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/MemoryArea.java @@ -11,7 +11,7 @@ * SPDX-License-Identifier: EPL-2.0 ********************************************************************************/ -package org.eclipse.jifa.gclog.event.evnetInfo; +package org.eclipse.jifa.gclog.event.eventInfo; public enum MemoryArea { EDEN("eden"), diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/ReferenceGC.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/ReferenceGC.java similarity index 97% rename from analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/ReferenceGC.java rename to analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/ReferenceGC.java index a1b47686..f57022f1 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/evnetInfo/ReferenceGC.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/event/eventInfo/ReferenceGC.java @@ -10,7 +10,7 @@ * * SPDX-License-Identifier: EPL-2.0 ********************************************************************************/ -package org.eclipse.jifa.gclog.event.evnetInfo; +package org.eclipse.jifa.gclog.event.eventInfo; import lombok.Data; import lombok.NoArgsConstructor; diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/fragment/GCModelConverter.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/fragment/GCModelConverter.java index 823ade80..b733b97d 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/fragment/GCModelConverter.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/fragment/GCModelConverter.java @@ -16,7 +16,7 @@ import com.google.common.collect.ImmutableSet; import lombok.extern.slf4j.Slf4j; import org.eclipse.jifa.gclog.event.GCEvent; -import org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea; +import org.eclipse.jifa.gclog.event.eventInfo.MemoryArea; import org.eclipse.jifa.gclog.model.GCModel; import org.eclipse.jifa.gclog.util.Constant; diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/CMSGCModel.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/CMSGCModel.java index 835abe5f..4c85c3e8 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/CMSGCModel.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/CMSGCModel.java @@ -15,15 +15,15 @@ import lombok.extern.slf4j.Slf4j; import org.eclipse.jifa.gclog.event.GCEvent; -import org.eclipse.jifa.gclog.event.evnetInfo.GCEventBooleanType; +import org.eclipse.jifa.gclog.event.eventInfo.GCEventBooleanType; import org.eclipse.jifa.gclog.model.modeInfo.GCCollectorType; import org.eclipse.jifa.gclog.util.LongData; import org.eclipse.jifa.gclog.vo.TimeRange; import java.util.List; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.METASPACE; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.OLD; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.METASPACE; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.OLD; import static org.eclipse.jifa.gclog.model.GCEventType.CMS_CONCURRENT_ABORTABLE_PRECLEAN; import static org.eclipse.jifa.gclog.model.GCEventType.CMS_CONCURRENT_FAILURE; import static org.eclipse.jifa.gclog.model.GCEventType.CMS_CONCURRENT_INTERRUPTED; diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/G1GCModel.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/G1GCModel.java index 150ad655..2c4be017 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/G1GCModel.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/G1GCModel.java @@ -14,9 +14,9 @@ package org.eclipse.jifa.gclog.model; import org.eclipse.jifa.gclog.event.GCEvent; -import org.eclipse.jifa.gclog.event.evnetInfo.GCEventBooleanType; -import org.eclipse.jifa.gclog.event.evnetInfo.GCMemoryItem; -import org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea; +import org.eclipse.jifa.gclog.event.eventInfo.GCEventBooleanType; +import org.eclipse.jifa.gclog.event.eventInfo.GCMemoryItem; +import org.eclipse.jifa.gclog.event.eventInfo.MemoryArea; import org.eclipse.jifa.gclog.model.modeInfo.GCCollectorType; import org.eclipse.jifa.gclog.model.modeInfo.GCLogStyle; import org.eclipse.jifa.gclog.util.LongData; @@ -25,15 +25,15 @@ import java.util.Arrays; import java.util.List; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCEventBooleanType.GC_AFTER_REMARK; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCEventBooleanType.GC_AT_END_OF_OLD_CYCLE; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.ARCHIVE; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.EDEN; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.HEAP; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.HUMONGOUS; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.METASPACE; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.OLD; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.SURVIVOR; +import static org.eclipse.jifa.gclog.event.eventInfo.GCEventBooleanType.GC_AFTER_REMARK; +import static org.eclipse.jifa.gclog.event.eventInfo.GCEventBooleanType.GC_AT_END_OF_OLD_CYCLE; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.ARCHIVE; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.EDEN; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.HEAP; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.HUMONGOUS; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.METASPACE; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.OLD; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.SURVIVOR; import static org.eclipse.jifa.gclog.model.GCEventType.FULL_GC; import static org.eclipse.jifa.gclog.model.GCEventType.G1_CONCURRENT_CYCLE; import static org.eclipse.jifa.gclog.model.GCEventType.G1_CONCURRENT_MARK; diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/GCEventType.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/GCEventType.java index 1a1be852..0c31fb66 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/GCEventType.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/GCEventType.java @@ -13,19 +13,19 @@ package org.eclipse.jifa.gclog.model; -import org.eclipse.jifa.gclog.event.evnetInfo.GCEventLevel; -import org.eclipse.jifa.gclog.event.evnetInfo.GCPause; +import org.eclipse.jifa.gclog.event.eventInfo.GCEventLevel; +import org.eclipse.jifa.gclog.event.eventInfo.GCPause; import org.eclipse.jifa.gclog.model.modeInfo.GCCollectorType; import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCEventLevel.EVENT; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCEventLevel.PHASE; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCPause.CONCURRENT; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCPause.PARTIAL; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCPause.PAUSE; +import static org.eclipse.jifa.gclog.event.eventInfo.GCEventLevel.EVENT; +import static org.eclipse.jifa.gclog.event.eventInfo.GCEventLevel.PHASE; +import static org.eclipse.jifa.gclog.event.eventInfo.GCPause.CONCURRENT; +import static org.eclipse.jifa.gclog.event.eventInfo.GCPause.PARTIAL; +import static org.eclipse.jifa.gclog.event.eventInfo.GCPause.PAUSE; /* * store all info that may affect the way model is organized and explained diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/GCModel.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/GCModel.java index 6a610a40..92bcd6a4 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/GCModel.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/GCModel.java @@ -37,11 +37,11 @@ import org.eclipse.jifa.gclog.event.Safepoint; import org.eclipse.jifa.gclog.event.ThreadEvent; import org.eclipse.jifa.gclog.event.TimedEvent; -import org.eclipse.jifa.gclog.event.evnetInfo.GCCause; -import org.eclipse.jifa.gclog.event.evnetInfo.GCEventLevel; -import org.eclipse.jifa.gclog.event.evnetInfo.GCMemoryItem; -import org.eclipse.jifa.gclog.event.evnetInfo.GCPause; -import org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea; +import org.eclipse.jifa.gclog.event.eventInfo.GCCause; +import org.eclipse.jifa.gclog.event.eventInfo.GCEventLevel; +import org.eclipse.jifa.gclog.event.eventInfo.GCMemoryItem; +import org.eclipse.jifa.gclog.event.eventInfo.GCPause; +import org.eclipse.jifa.gclog.event.eventInfo.MemoryArea; import org.eclipse.jifa.gclog.model.modeInfo.GCCollectorType; import org.eclipse.jifa.gclog.model.modeInfo.GCLogMetadata; import org.eclipse.jifa.gclog.model.modeInfo.GCLogStyle; @@ -75,14 +75,14 @@ import java.util.stream.Collectors; import java.util.stream.Stream; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.ARCHIVE; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.EDEN; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.HEAP; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.HUMONGOUS; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.METASPACE; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.OLD; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.SURVIVOR; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.YOUNG; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.ARCHIVE; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.EDEN; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.HEAP; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.HUMONGOUS; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.METASPACE; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.OLD; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.SURVIVOR; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.YOUNG; import static org.eclipse.jifa.gclog.model.GCEventType.CMS_CONCURRENT_MARK_SWEPT; import static org.eclipse.jifa.gclog.model.GCEventType.FULL_GC; import static org.eclipse.jifa.gclog.model.GCEventType.G1_CONCURRENT_CYCLE; diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/GenerationalGCModel.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/GenerationalGCModel.java index 61606f0d..daef1fd4 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/GenerationalGCModel.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/GenerationalGCModel.java @@ -14,9 +14,9 @@ package org.eclipse.jifa.gclog.model; import org.eclipse.jifa.gclog.event.GCEvent; -import org.eclipse.jifa.gclog.event.evnetInfo.GCCause; -import org.eclipse.jifa.gclog.event.evnetInfo.GCEventBooleanType; -import org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea; +import org.eclipse.jifa.gclog.event.eventInfo.GCCause; +import org.eclipse.jifa.gclog.event.eventInfo.GCEventBooleanType; +import org.eclipse.jifa.gclog.event.eventInfo.MemoryArea; import org.eclipse.jifa.gclog.model.modeInfo.GCCollectorType; import org.eclipse.jifa.gclog.model.modeInfo.GCLogStyle; diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/ZGCModel.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/ZGCModel.java index ef2743aa..245556bf 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/ZGCModel.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/model/ZGCModel.java @@ -18,7 +18,7 @@ import lombok.NoArgsConstructor; import org.eclipse.jifa.gclog.event.GCEvent; import org.eclipse.jifa.gclog.event.TimedEvent; -import org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea; +import org.eclipse.jifa.gclog.event.eventInfo.MemoryArea; import org.eclipse.jifa.gclog.model.modeInfo.GCCollectorType; import org.eclipse.jifa.gclog.util.Constant; diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/AbstractPreUnifiedGCLogParser.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/AbstractPreUnifiedGCLogParser.java index 408b14d2..e956499b 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/AbstractPreUnifiedGCLogParser.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/AbstractPreUnifiedGCLogParser.java @@ -17,10 +17,10 @@ import lombok.extern.slf4j.Slf4j; import org.eclipse.jifa.common.domain.exception.ShouldNotReachHereException; import org.eclipse.jifa.gclog.event.GCEvent; -import org.eclipse.jifa.gclog.event.evnetInfo.CpuTime; -import org.eclipse.jifa.gclog.event.evnetInfo.GCMemoryItem; -import org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea; -import org.eclipse.jifa.gclog.event.evnetInfo.ReferenceGC; +import org.eclipse.jifa.gclog.event.eventInfo.CpuTime; +import org.eclipse.jifa.gclog.event.eventInfo.GCMemoryItem; +import org.eclipse.jifa.gclog.event.eventInfo.MemoryArea; +import org.eclipse.jifa.gclog.event.eventInfo.ReferenceGC; import org.eclipse.jifa.gclog.model.GCEventType; import org.eclipse.jifa.gclog.model.GCModel; import org.eclipse.jifa.gclog.model.modeInfo.GCCollectorType; diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/PreUnifiedG1GCLogParser.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/PreUnifiedG1GCLogParser.java index 629fcb38..e8cc2526 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/PreUnifiedG1GCLogParser.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/PreUnifiedG1GCLogParser.java @@ -16,9 +16,9 @@ import org.apache.commons.lang3.StringUtils; import org.eclipse.jifa.common.domain.exception.ShouldNotReachHereException; import org.eclipse.jifa.gclog.event.GCEvent; -import org.eclipse.jifa.gclog.event.evnetInfo.GCEventBooleanType; -import org.eclipse.jifa.gclog.event.evnetInfo.GCMemoryItem; -import org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea; +import org.eclipse.jifa.gclog.event.eventInfo.GCEventBooleanType; +import org.eclipse.jifa.gclog.event.eventInfo.GCMemoryItem; +import org.eclipse.jifa.gclog.event.eventInfo.MemoryArea; import org.eclipse.jifa.gclog.model.GCEventType; import org.eclipse.jifa.gclog.model.GCModel; import org.eclipse.jifa.gclog.util.GCLogUtil; diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/PreUnifiedGenerationalGCLogParser.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/PreUnifiedGenerationalGCLogParser.java index 053cfe07..47a0077d 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/PreUnifiedGenerationalGCLogParser.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/PreUnifiedGenerationalGCLogParser.java @@ -15,10 +15,10 @@ import org.eclipse.jifa.common.domain.exception.ShouldNotReachHereException; import org.eclipse.jifa.gclog.event.GCEvent; -import org.eclipse.jifa.gclog.event.evnetInfo.GCCause; -import org.eclipse.jifa.gclog.event.evnetInfo.GCEventBooleanType; -import org.eclipse.jifa.gclog.event.evnetInfo.GCMemoryItem; -import org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea; +import org.eclipse.jifa.gclog.event.eventInfo.GCCause; +import org.eclipse.jifa.gclog.event.eventInfo.GCEventBooleanType; +import org.eclipse.jifa.gclog.event.eventInfo.GCMemoryItem; +import org.eclipse.jifa.gclog.event.eventInfo.MemoryArea; import org.eclipse.jifa.gclog.model.GCEventType; import org.eclipse.jifa.gclog.model.GCModel; import org.eclipse.jifa.gclog.util.GCLogUtil; @@ -26,7 +26,7 @@ import java.util.ArrayList; import java.util.List; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.HEAP; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.HEAP; import static org.eclipse.jifa.gclog.model.GCEventType.*; import static org.eclipse.jifa.gclog.parser.ParseRule.ParseRuleContext; import static org.eclipse.jifa.gclog.parser.ParseRule.ParseRuleContext.EVENT; diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/UnifiedG1GCLogParser.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/UnifiedG1GCLogParser.java index 014826af..b1be1098 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/UnifiedG1GCLogParser.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/UnifiedG1GCLogParser.java @@ -15,7 +15,7 @@ import org.eclipse.jifa.common.domain.exception.ShouldNotReachHereException; import org.eclipse.jifa.gclog.event.GCEvent; -import org.eclipse.jifa.gclog.event.evnetInfo.GCEventBooleanType; +import org.eclipse.jifa.gclog.event.eventInfo.GCEventBooleanType; import org.eclipse.jifa.gclog.model.G1GCModel; import org.eclipse.jifa.gclog.model.GCEventType; import org.eclipse.jifa.gclog.model.GCModel; diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/UnifiedG1OrGenerationalGCLogParser.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/UnifiedG1OrGenerationalGCLogParser.java index 044fe2dd..22204c8c 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/UnifiedG1OrGenerationalGCLogParser.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/UnifiedG1OrGenerationalGCLogParser.java @@ -15,11 +15,11 @@ import org.apache.commons.lang3.StringUtils; import org.eclipse.jifa.gclog.event.GCEvent; -import org.eclipse.jifa.gclog.event.evnetInfo.CpuTime; -import org.eclipse.jifa.gclog.event.evnetInfo.GCCause; -import org.eclipse.jifa.gclog.event.evnetInfo.GCEventBooleanType; -import org.eclipse.jifa.gclog.event.evnetInfo.GCMemoryItem; -import org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea; +import org.eclipse.jifa.gclog.event.eventInfo.CpuTime; +import org.eclipse.jifa.gclog.event.eventInfo.GCCause; +import org.eclipse.jifa.gclog.event.eventInfo.GCEventBooleanType; +import org.eclipse.jifa.gclog.event.eventInfo.GCMemoryItem; +import org.eclipse.jifa.gclog.event.eventInfo.MemoryArea; import org.eclipse.jifa.gclog.model.GCEventType; import org.eclipse.jifa.gclog.model.GCModel; import org.eclipse.jifa.gclog.model.modeInfo.GCCollectorType; diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/UnifiedGenerationalGCLogParser.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/UnifiedGenerationalGCLogParser.java index 9cd83f5f..082fadeb 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/UnifiedGenerationalGCLogParser.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/UnifiedGenerationalGCLogParser.java @@ -15,7 +15,7 @@ import org.eclipse.jifa.common.domain.exception.ShouldNotReachHereException; import org.eclipse.jifa.gclog.event.GCEvent; -import org.eclipse.jifa.gclog.event.evnetInfo.GCEventBooleanType; +import org.eclipse.jifa.gclog.event.eventInfo.GCEventBooleanType; import org.eclipse.jifa.gclog.model.GCEventType; import org.eclipse.jifa.gclog.model.GCModel; diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/UnifiedZGCLogParser.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/UnifiedZGCLogParser.java index 11ff3fa8..f83a9ec0 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/UnifiedZGCLogParser.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/UnifiedZGCLogParser.java @@ -16,7 +16,7 @@ import org.eclipse.jifa.common.domain.exception.ShouldNotReachHereException; import org.eclipse.jifa.gclog.event.GCEvent; import org.eclipse.jifa.gclog.event.ThreadEvent; -import org.eclipse.jifa.gclog.event.evnetInfo.GCMemoryItem; +import org.eclipse.jifa.gclog.event.eventInfo.GCMemoryItem; import org.eclipse.jifa.gclog.model.GCEventType; import org.eclipse.jifa.gclog.model.GCModel; import org.eclipse.jifa.gclog.model.ZGCModel; @@ -26,8 +26,8 @@ import java.util.ArrayList; import java.util.List; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.HEAP; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.METASPACE; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.HEAP; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.METASPACE; import static org.eclipse.jifa.gclog.model.GCEventType.ZGC_ALLOCATION_STALL; import static org.eclipse.jifa.gclog.model.GCEventType.ZGC_CONCURRENT_DETATCHED_PAGES; import static org.eclipse.jifa.gclog.model.GCEventType.ZGC_CONCURRENT_MARK; diff --git a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/util/GCLogUtil.java b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/util/GCLogUtil.java index d315f3d6..4a94ea36 100644 --- a/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/util/GCLogUtil.java +++ b/analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/util/GCLogUtil.java @@ -13,7 +13,7 @@ package org.eclipse.jifa.gclog.util; -import org.eclipse.jifa.gclog.event.evnetInfo.CpuTime; +import org.eclipse.jifa.gclog.event.eventInfo.CpuTime; import java.time.OffsetDateTime; import java.util.ArrayList; diff --git a/analysis/gc-log/src/test/java/org/eclipse/jifa/gclog/TestFragmentedParserToGCModel.java b/analysis/gc-log/src/test/java/org/eclipse/jifa/gclog/TestFragmentedParserToGCModel.java index 53cc1178..6e5b7a64 100644 --- a/analysis/gc-log/src/test/java/org/eclipse/jifa/gclog/TestFragmentedParserToGCModel.java +++ b/analysis/gc-log/src/test/java/org/eclipse/jifa/gclog/TestFragmentedParserToGCModel.java @@ -16,7 +16,7 @@ import lombok.extern.slf4j.Slf4j; import org.eclipse.jifa.analysis.listener.DefaultProgressListener; import org.eclipse.jifa.gclog.event.GCEvent; -import org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea; +import org.eclipse.jifa.gclog.event.eventInfo.MemoryArea; import org.eclipse.jifa.gclog.fragment.GCLogAnalyzer; import org.eclipse.jifa.gclog.model.*; import org.eclipse.jifa.gclog.parser.*; @@ -27,7 +27,7 @@ import java.util.*; import static org.eclipse.jifa.gclog.TestUtil.generateShuffledGCLog; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.*; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.*; /* This test aims the same as TestFragmentedParserToGCModelLegacy. diff --git a/analysis/gc-log/src/test/java/org/eclipse/jifa/gclog/TestFragmentedParserToGCModelLegacy.java b/analysis/gc-log/src/test/java/org/eclipse/jifa/gclog/TestFragmentedParserToGCModelLegacy.java index 88529cbe..b41bc971 100644 --- a/analysis/gc-log/src/test/java/org/eclipse/jifa/gclog/TestFragmentedParserToGCModelLegacy.java +++ b/analysis/gc-log/src/test/java/org/eclipse/jifa/gclog/TestFragmentedParserToGCModelLegacy.java @@ -15,7 +15,7 @@ import lombok.extern.slf4j.Slf4j; import org.eclipse.jifa.gclog.event.GCEvent; import org.eclipse.jifa.gclog.event.Safepoint; -import org.eclipse.jifa.gclog.event.evnetInfo.GCMemoryItem; +import org.eclipse.jifa.gclog.event.eventInfo.GCMemoryItem; import org.eclipse.jifa.gclog.fragment.GCLogAnalyzer; import org.eclipse.jifa.gclog.model.*; import org.eclipse.jifa.gclog.model.modeInfo.GCCollectorType; @@ -27,12 +27,12 @@ import java.util.*; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCCause.*; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCCause.ALLOCATION_FAILURE; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCEventBooleanType.TO_SPACE_EXHAUSTED; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCEventBooleanType.YOUNG_GC_BECOME_FULL_GC; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.*; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.HEAP; +import static org.eclipse.jifa.gclog.event.eventInfo.GCCause.*; +import static org.eclipse.jifa.gclog.event.eventInfo.GCCause.ALLOCATION_FAILURE; +import static org.eclipse.jifa.gclog.event.eventInfo.GCEventBooleanType.TO_SPACE_EXHAUSTED; +import static org.eclipse.jifa.gclog.event.eventInfo.GCEventBooleanType.YOUNG_GC_BECOME_FULL_GC; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.*; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.HEAP; import static org.eclipse.jifa.gclog.util.Constant.UNKNOWN_DOUBLE; /* diff --git a/analysis/gc-log/src/test/java/org/eclipse/jifa/gclog/TestGCModel.java b/analysis/gc-log/src/test/java/org/eclipse/jifa/gclog/TestGCModel.java index dc7a4854..6bc78bf1 100644 --- a/analysis/gc-log/src/test/java/org/eclipse/jifa/gclog/TestGCModel.java +++ b/analysis/gc-log/src/test/java/org/eclipse/jifa/gclog/TestGCModel.java @@ -16,9 +16,9 @@ import org.eclipse.jifa.analysis.listener.DefaultProgressListener; import org.eclipse.jifa.gclog.event.GCEvent; import org.eclipse.jifa.gclog.event.Safepoint; -import org.eclipse.jifa.gclog.event.evnetInfo.GCCause; -import org.eclipse.jifa.gclog.event.evnetInfo.GCEventBooleanType; -import org.eclipse.jifa.gclog.event.evnetInfo.GCMemoryItem; +import org.eclipse.jifa.gclog.event.eventInfo.GCCause; +import org.eclipse.jifa.gclog.event.eventInfo.GCEventBooleanType; +import org.eclipse.jifa.gclog.event.eventInfo.GCMemoryItem; import org.eclipse.jifa.gclog.model.G1GCModel; import org.eclipse.jifa.gclog.model.GCEventType; import org.eclipse.jifa.gclog.model.GCModel; @@ -41,12 +41,12 @@ import java.util.Map; import static org.eclipse.jifa.gclog.TestUtil.stringToBufferedReader; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.EDEN; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.HEAP; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.HUMONGOUS; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.METASPACE; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.OLD; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.SURVIVOR; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.EDEN; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.HEAP; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.HUMONGOUS; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.METASPACE; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.OLD; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.SURVIVOR; import static org.eclipse.jifa.gclog.model.GCEventType.FULL_GC; import static org.eclipse.jifa.gclog.model.GCEventType.G1_CONCURRENT_CLEAR_CLAIMED_MARKS; import static org.eclipse.jifa.gclog.model.GCEventType.G1_CONCURRENT_CYCLE; diff --git a/analysis/gc-log/src/test/java/org/eclipse/jifa/gclog/TestParser.java b/analysis/gc-log/src/test/java/org/eclipse/jifa/gclog/TestParser.java index 7929ae0b..074c8daa 100644 --- a/analysis/gc-log/src/test/java/org/eclipse/jifa/gclog/TestParser.java +++ b/analysis/gc-log/src/test/java/org/eclipse/jifa/gclog/TestParser.java @@ -17,7 +17,7 @@ import org.eclipse.jifa.gclog.event.GCEvent; import org.eclipse.jifa.gclog.event.Safepoint; import org.eclipse.jifa.gclog.event.ThreadEvent; -import org.eclipse.jifa.gclog.event.evnetInfo.GCMemoryItem; +import org.eclipse.jifa.gclog.event.eventInfo.GCMemoryItem; import org.eclipse.jifa.gclog.model.CMSGCModel; import org.eclipse.jifa.gclog.model.G1GCModel; import org.eclipse.jifa.gclog.model.GCEventType; @@ -44,28 +44,28 @@ import java.util.List; import static org.eclipse.jifa.gclog.TestUtil.stringToBufferedReader; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCCause.ALLOCATION_FAILURE; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCCause.CMS_FINAL_REMARK; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCCause.ERGONOMICS; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCCause.G1_COMPACTION; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCCause.G1_EVACUATION_PAUSE; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCCause.HEAP_DUMP; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCCause.METADATA_GENERATION_THRESHOLD; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCCause.PROACTIVE; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCCause.PROMOTION_FAILED; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCCause.WARMUP; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCEventBooleanType.TO_SPACE_EXHAUSTED; -import static org.eclipse.jifa.gclog.event.evnetInfo.GCEventBooleanType.YOUNG_GC_BECOME_FULL_GC; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.ARCHIVE; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.CLASS; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.EDEN; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.HEAP; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.HUMONGOUS; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.METASPACE; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.NONCLASS; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.OLD; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.SURVIVOR; -import static org.eclipse.jifa.gclog.event.evnetInfo.MemoryArea.YOUNG; +import static org.eclipse.jifa.gclog.event.eventInfo.GCCause.ALLOCATION_FAILURE; +import static org.eclipse.jifa.gclog.event.eventInfo.GCCause.CMS_FINAL_REMARK; +import static org.eclipse.jifa.gclog.event.eventInfo.GCCause.ERGONOMICS; +import static org.eclipse.jifa.gclog.event.eventInfo.GCCause.G1_COMPACTION; +import static org.eclipse.jifa.gclog.event.eventInfo.GCCause.G1_EVACUATION_PAUSE; +import static org.eclipse.jifa.gclog.event.eventInfo.GCCause.HEAP_DUMP; +import static org.eclipse.jifa.gclog.event.eventInfo.GCCause.METADATA_GENERATION_THRESHOLD; +import static org.eclipse.jifa.gclog.event.eventInfo.GCCause.PROACTIVE; +import static org.eclipse.jifa.gclog.event.eventInfo.GCCause.PROMOTION_FAILED; +import static org.eclipse.jifa.gclog.event.eventInfo.GCCause.WARMUP; +import static org.eclipse.jifa.gclog.event.eventInfo.GCEventBooleanType.TO_SPACE_EXHAUSTED; +import static org.eclipse.jifa.gclog.event.eventInfo.GCEventBooleanType.YOUNG_GC_BECOME_FULL_GC; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.ARCHIVE; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.CLASS; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.EDEN; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.HEAP; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.HUMONGOUS; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.METASPACE; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.NONCLASS; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.OLD; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.SURVIVOR; +import static org.eclipse.jifa.gclog.event.eventInfo.MemoryArea.YOUNG; import static org.eclipse.jifa.gclog.util.Constant.UNKNOWN_DOUBLE; import static org.eclipse.jifa.gclog.util.Constant.UNKNOWN_INT;