diff --git a/src/main/java/org/eclipselabs/garbagecat/Main.java b/src/main/java/org/eclipselabs/garbagecat/Main.java index 0bf09d91..ed86f753 100644 --- a/src/main/java/org/eclipselabs/garbagecat/Main.java +++ b/src/main/java/org/eclipselabs/garbagecat/Main.java @@ -104,10 +104,13 @@ public static void createReport(CommandLine cmd) throws IOException { throw new IllegalArgumentException("Log file and report are the same file."); } - // Determine JVM environment information. + // Requiring the JVM start date/time for preprocessing was originally a hack to handle datestamps introduced + // with -XX:+PrintGCDateStamps was introduced in JDK 1.6 update 4. It is now to + // convert uptime to a datestamp in reporting (e.g. bottlenecks). Date jvmStartDate = cmd.hasOption(OPTION_STARTDATETIME_LONG) ? parseStartDateTime(cmd.getOptionValue(OPTION_STARTDATETIME_SHORT)) : null; + String jvmOptions = cmd.hasOption(OPTION_JVMOPTIONS_LONG) ? cmd.getOptionValue(OPTION_JVMOPTIONS_SHORT) : null; URI logFileUri = logFile.toURI(); @@ -122,19 +125,10 @@ public static void createReport(CommandLine cmd) throws IOException { // Do preprocessing if (cmd.hasOption(OPTION_PREPROCESS_LONG) || cmd.hasOption(OPTION_STARTDATETIME_LONG)) { - /* - * Requiring the JVM start date/time for preprocessing is a hack to handle datestamps. When garbagecat was - * started there was no -XX:+PrintGCDateStamps option. When it was introduced in JDK 1.6 update - * 4, the easiest thing to do to handle datestamps was to preprocess the datestamps and convert them to - * timestamps. - * - * TODO: Handle datetimes separately from preprocessing so preprocessing doesn't require passing in the JVM - * start date/time. - */ if (verbose) { System.out.println("preprocessing..."); } - logLines = gcManager.preprocess(logLines, jvmStartDate); + logLines = gcManager.preprocess(logLines); } // Allow logging to be reordered? diff --git a/src/main/java/org/eclipselabs/garbagecat/OptionsParser.java b/src/main/java/org/eclipselabs/garbagecat/OptionsParser.java index fddb46eb..8da64f76 100644 --- a/src/main/java/org/eclipselabs/garbagecat/OptionsParser.java +++ b/src/main/java/org/eclipselabs/garbagecat/OptionsParser.java @@ -58,7 +58,7 @@ public class OptionsParser { options.addOption(OPTION_JVMOPTIONS_SHORT, OPTION_JVMOPTIONS_LONG, true, "JVM options used during JVM run"); options.addOption(OPTION_PREPROCESS_SHORT, OPTION_PREPROCESS_LONG, false, "do preprocessing"); options.addOption(OPTION_STARTDATETIME_SHORT, OPTION_STARTDATETIME_LONG, true, - "JVM start datetime (yyyy-MM-dd HH:mm:ss.SSS) to convert uptime to datestamp"); + "JVM start datetime (yyyy-MM-dd HH:mm:ss.SSS) to convert uptime to datestamp in reporting"); options.addOption(OPTION_THRESHOLD_SHORT, OPTION_THRESHOLD_LONG, true, "threshold (0-100) for throughput bottleneck reporting"); options.addOption(OPTION_REORDER_SHORT, OPTION_REORDER_LONG, false, "reorder logging by timestamp"); diff --git a/src/main/java/org/eclipselabs/garbagecat/service/GcManager.java b/src/main/java/org/eclipselabs/garbagecat/service/GcManager.java index 8c44bfb6..78b4eeb4 100644 --- a/src/main/java/org/eclipselabs/garbagecat/service/GcManager.java +++ b/src/main/java/org/eclipselabs/garbagecat/service/GcManager.java @@ -546,11 +546,9 @@ public boolean isPreprocessed() { * * @param logLines * Raw garbage collection logging. - * @param jvmStartDate - * The date and time the JVM was started. * @return Preprocessed garbage collection logging. */ - public List preprocess(List logLines, Date jvmStartDate) { + public List preprocess(List logLines) { if (logLines == null) throw new IllegalArgumentException("logLines == null!!"); diff --git a/src/test/java/org/eclipselabs/garbagecat/dao/TestJvmDao.java b/src/test/java/org/eclipselabs/garbagecat/dao/TestJvmDao.java index cffadc88..e69eb1e9 100644 --- a/src/test/java/org/eclipselabs/garbagecat/dao/TestJvmDao.java +++ b/src/test/java/org/eclipselabs/garbagecat/dao/TestJvmDao.java @@ -85,7 +85,7 @@ void testSafepointSummaryTotals() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), diff --git a/src/test/java/org/eclipselabs/garbagecat/domain/TestJvmRun.java b/src/test/java/org/eclipselabs/garbagecat/domain/TestJvmRun.java index 268173b1..4fd8d124 100644 --- a/src/test/java/org/eclipselabs/garbagecat/domain/TestJvmRun.java +++ b/src/test/java/org/eclipselabs/garbagecat/domain/TestJvmRun.java @@ -60,7 +60,7 @@ void testApplicationStoppedTimeNoTimestamps() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals((long) 2097502, jvmRun.getDurationTotal(), "GC pause total not correct."); @@ -91,7 +91,7 @@ void testCombinedCmsConcurrentApplicationConcurrentTimeLogging() throws IOExcept GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -113,7 +113,7 @@ void testCombinedCmsConcurrentApplicationStoppedTimeLogging() throws IOException GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -284,7 +284,7 @@ void testLoggingToStdOutNot() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.hasAnalysis(org.github.joa.util.Analysis.INFO_GC_LOG_STDOUT.getKey()), @@ -469,7 +469,7 @@ void testPrintGcApplicationConcurrentTimeAnalysis() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertTrue(jvmRun.hasAnalysis(org.github.joa.util.Analysis.INFO_PRINT_GC_APPLICATION_CONCURRENT_TIME.getKey()), @@ -488,7 +488,7 @@ void testPrintTenuringDistributionPreprocessActionNoSpaceAfterGc() throws IOExce GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -504,7 +504,7 @@ void testRemoveBlankLines() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -529,7 +529,7 @@ void testSplitParallelOldCompactingEventLogging() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -600,7 +600,7 @@ void testSummaryStatsG1ExtRootScanning() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals((long) 400, jvmRun.getExtRootScanningTimeMax(), @@ -692,7 +692,7 @@ void testSummaryStatsPartialLog() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -725,7 +725,7 @@ void testSummaryStatsShenandoah() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -753,7 +753,7 @@ void testSummaryStatsStoppedTime() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -786,7 +786,7 @@ void testSummaryStatsUnifiedStoppedTime() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), diff --git a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestClassUnloadingEvent.java b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestClassUnloadingEvent.java index f05ce2da..4e616062 100644 --- a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestClassUnloadingEvent.java +++ b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestClassUnloadingEvent.java @@ -85,7 +85,7 @@ void testTraceClassUnloadingPreprocessing() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), diff --git a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestCmsRemarkEvent.java b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestCmsRemarkEvent.java index 79d9f196..1714e060 100644 --- a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestCmsRemarkEvent.java +++ b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestCmsRemarkEvent.java @@ -423,7 +423,7 @@ void testTruncatedPreprocessing() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), diff --git a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestCmsSerialOldEvent.java b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestCmsSerialOldEvent.java index 40298a7b..2dca3491 100644 --- a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestCmsSerialOldEvent.java +++ b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestCmsSerialOldEvent.java @@ -740,7 +740,7 @@ void testParNewConcurrentModeFailureMixedCmsConcurrentJdk8() throws IOException GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -977,7 +977,7 @@ void testParNewPromotionFailedCmsSerialOldPermDataPrintClassHistogramTriggerAcro GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1127,7 +1127,7 @@ void testSplit3LinesParNewConcurrentModeFailureEventLogging() throws IOException GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1149,7 +1149,7 @@ void testSplit3LinesParNewPromotionFailedCmsConcurrentModeFailurePermDataEventMa GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1171,7 +1171,7 @@ void testSplitParNewCmsConcurrentModeFailurePermData() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1191,7 +1191,7 @@ void testSplitParNewPromotionFailedCmsConcurrentModeFailure() throws IOException GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1215,7 +1215,7 @@ void testSplitParNewPromotionFailedCmsConcurrentModeFailurePermData() throws IOE GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1242,7 +1242,7 @@ void testSplitPrintHeapAtGcParNewConcurrentModeFailureEventLogging() throws IOEx GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), diff --git a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestG1FullGcEvent.java b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestG1FullGcEvent.java index 7de8b944..ae1aca16 100644 --- a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestG1FullGcEvent.java +++ b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestG1FullGcEvent.java @@ -47,7 +47,7 @@ void testHeapInspectionInitiatedGc() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(1, jvmRun.getEventTypes().size(), "Event type count not correct."); @@ -394,7 +394,7 @@ void testTriggerHeapDumpInitiatedGc() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(1, jvmRun.getEventTypes().size(), "Event type count not correct."); diff --git a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestG1MixedPauseEvent.java b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestG1MixedPauseEvent.java index 1f927de0..b636d2ba 100644 --- a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestG1MixedPauseEvent.java +++ b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestG1MixedPauseEvent.java @@ -264,7 +264,7 @@ void testPreprocessingDoubleTriggerG1EvacuationPauseToSpaceExhausted() throws IO GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(1, jvmRun.getEventTypes().size(), "Event type count not correct."); @@ -288,7 +288,7 @@ void testPreprocessingDoubleTriggerHumongousAllocationToSpaceExhausted() throws GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(1, jvmRun.getEventTypes().size(), "Event type count not correct."); @@ -306,7 +306,7 @@ void testPreprocessingPrintReferenceGc() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -330,7 +330,7 @@ void testPreprocessingTriggerToSpaceExhausted() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(1, jvmRun.getEventTypes().size(), "Event type count not correct."); diff --git a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestG1YoungInitialMarkEvent.java b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestG1YoungInitialMarkEvent.java index b7cc60c3..303850b6 100644 --- a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestG1YoungInitialMarkEvent.java +++ b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestG1YoungInitialMarkEvent.java @@ -48,7 +48,7 @@ void testAnalysisExplicitGc() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), diff --git a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestG1YoungPauseEvent.java b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestG1YoungPauseEvent.java index 644d3565..4dd248ef 100644 --- a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestG1YoungPauseEvent.java +++ b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestG1YoungPauseEvent.java @@ -402,7 +402,7 @@ void testPreprocessingNoSpaceAfterYoung() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -428,7 +428,7 @@ void testPreprocessingTriggerToSpaceOverflow() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), diff --git a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestLogFileEvent.java b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestLogFileEvent.java index e6ce4ec8..0e483c9c 100644 --- a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestLogFileEvent.java +++ b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestLogFileEvent.java @@ -92,7 +92,7 @@ void testPreparsing() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(1, jvmRun.getEventTypes().size(), "Event type count not correct."); diff --git a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestParNewEvent.java b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestParNewEvent.java index 80f50739..aa4936cf 100644 --- a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestParNewEvent.java +++ b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/TestParNewEvent.java @@ -524,7 +524,7 @@ void testSplitParNewCmsConcurrentEventAbortablePrecleanLogging() throws IOExcept GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), diff --git a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedFooterStatsEvent.java b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedFooterStatsEvent.java index a4389281..c79ea519 100644 --- a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedFooterStatsEvent.java +++ b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedFooterStatsEvent.java @@ -391,7 +391,7 @@ void testUptimeMillis() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), diff --git a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedG1FullGcEvent.java b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedG1FullGcEvent.java index 1e1e40eb..3cabafe5 100644 --- a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedG1FullGcEvent.java +++ b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedG1FullGcEvent.java @@ -244,7 +244,7 @@ void testPreprocessing() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -263,7 +263,7 @@ void testPreprocessingTriggerHeapDumpInitiatedGc() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -398,7 +398,7 @@ void testUnifiedSerialOldTriggerSystemGc() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), diff --git a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedG1MixedPauseEvent.java b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedG1MixedPauseEvent.java index ec9e6326..ac53cf8d 100644 --- a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedG1MixedPauseEvent.java +++ b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedG1MixedPauseEvent.java @@ -198,7 +198,7 @@ void testPreprocessing() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(1, jvmRun.getEventTypes().size(), "Event type count not correct."); diff --git a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedG1YoungPauseEvent.java b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedG1YoungPauseEvent.java index 6674c219..c29f40b9 100644 --- a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedG1YoungPauseEvent.java +++ b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedG1YoungPauseEvent.java @@ -128,7 +128,7 @@ void testPreparsingOtherTime() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -147,7 +147,7 @@ void testPreparsingUsingG1() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -466,7 +466,7 @@ void testToSpaceExhausted() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -495,7 +495,7 @@ void testUnifiedG1YoungPauseConcurrentStartTriggerG1HumongousAllocation() throws GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(1, jvmRun.getEventTypes().size(), "Event type count not correct."); @@ -514,7 +514,7 @@ void testUnifiedG1YoungPauseConcurrentStartTriggerMetaGcThreshold() throws IOExc GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(1, jvmRun.getEventTypes().size(), "Event type count not correct."); @@ -533,7 +533,7 @@ void testUnifiedG1YoungPauseDatestampMillis() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(1, jvmRun.getEventTypes().size(), "Event type count not correct."); @@ -552,7 +552,7 @@ void testUnifiedG1YoungPauseJdk9() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(1, jvmRun.getEventTypes().size(), "Event type count not correct."); diff --git a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedG1YoungPrepareMixedEvent.java b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedG1YoungPrepareMixedEvent.java index a3ade5c7..75fe4569 100644 --- a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedG1YoungPrepareMixedEvent.java +++ b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedG1YoungPrepareMixedEvent.java @@ -247,7 +247,7 @@ void testPreprocessing() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(1, jvmRun.getEventTypes().size(), "Event type count not correct."); diff --git a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedHeaderEvent.java b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedHeaderEvent.java index 41412592..1f99b9c9 100644 --- a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedHeaderEvent.java +++ b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedHeaderEvent.java @@ -1089,7 +1089,7 @@ void testShenandoah() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), diff --git a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedOldEvent.java b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedOldEvent.java index d630358e..3c15652c 100644 --- a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedOldEvent.java +++ b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedOldEvent.java @@ -95,7 +95,7 @@ void testPreprocessedTriggerGcLockerInitiatedGc() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -142,7 +142,7 @@ void testPreprocessingNewAllocationFailureTriggersOld() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), diff --git a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedSafepointEvent.java b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedSafepointEvent.java index 580c12c5..8087b9a8 100644 --- a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedSafepointEvent.java +++ b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedSafepointEvent.java @@ -364,7 +364,7 @@ void testTriggerGcHeapInspection() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(1, jvmRun.getEventTypes().size(), "Event type count not correct."); diff --git a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedYoungEvent.java b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedYoungEvent.java index 22ba4b49..32ab3494 100644 --- a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedYoungEvent.java +++ b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestUnifiedYoungEvent.java @@ -207,7 +207,7 @@ void testUnifiedYoungMixedSafepoint() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), diff --git a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestZRelocateStartYoungEvent.java b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestZRelocateStartYoungEvent.java index b7adda93..ab9fed69 100644 --- a/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestZRelocateStartYoungEvent.java +++ b/src/test/java/org/eclipselabs/garbagecat/domain/jdk/unified/TestZRelocateStartYoungEvent.java @@ -90,7 +90,7 @@ void testPreprocessed() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), diff --git a/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestApplicationStoppedTimePreprocessAction.java b/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestApplicationStoppedTimePreprocessAction.java index fd8cdd60..bbace2c2 100644 --- a/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestApplicationStoppedTimePreprocessAction.java +++ b/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestApplicationStoppedTimePreprocessAction.java @@ -205,7 +205,7 @@ void testG1() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(3, jvmRun.getEventTypes().size(), "Event type count not correct."); diff --git a/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestCmsPreprocessAction.java b/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestCmsPreprocessAction.java index 33ab57b0..a5ac3ca5 100644 --- a/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestCmsPreprocessAction.java +++ b/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestCmsPreprocessAction.java @@ -51,7 +51,7 @@ void testBeginningParNewWithNoParNewWithCmsConcurrentPreclean() throws IOExcepti GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -75,7 +75,7 @@ void testCmsConcurrentMixedApplicationConcurrentTime() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(3, jvmRun.getEventTypes().size(), "Event type count not correct."); @@ -95,7 +95,7 @@ void testCmsScavengeBeforeRemarkJdk8MixedHeapAtGc() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -113,7 +113,7 @@ void testCmsScavengeBeforeRemarkJMixedHeapAtGc() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -131,7 +131,7 @@ void testCmsScavengeBeforeRemarkNoPrintGcDetails() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -159,7 +159,7 @@ void testCmsSerialConcurrentModeFailureMixedCmsConcurrent() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -187,7 +187,7 @@ void testCmsSerialConcurrentModeFailureMixedCmsConcurrentJdk8() throws IOExcepti GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -211,7 +211,7 @@ void testCmsSerialOldConcurrentModeFailureMixedConcurrentMark() throws IOExcepti GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(2, jvmRun.getEventTypes().size(), "Event type count not correct."); @@ -237,7 +237,7 @@ void testCmsSerialOldConcurrentModeInterruptedMixedCmsConcurrent() throws IOExce GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -265,7 +265,7 @@ void testCmsSerialOldPrintClassHistogramTriggerAcross5Lines() throws IOException GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -289,7 +289,7 @@ void testCmsSerialOldTriggerJvmtiEnvForceGarbageCollectionWithConcurrentModeInte GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -317,7 +317,7 @@ void testCmsSerialOldTriggerMetadataGcThresholdWithConcurrentModeInterrupted() t GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1340,7 +1340,7 @@ void testParNewCmsConcurrentOver3Lines() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(2, jvmRun.getEventTypes().size(), "Event type count not correct."); @@ -1360,7 +1360,7 @@ void testParNewConcurrentModeFailureMixedAbortPrecleanDueToTime() throws IOExcep GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(2, jvmRun.getEventTypes().size(), "Event type count not correct."); @@ -1380,7 +1380,7 @@ void testParNewConcurrentModeFailureMixedConcurrentMark() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(2, jvmRun.getEventTypes().size(), "Event type count not correct."); @@ -1400,7 +1400,7 @@ void testParNewConcurrentModeFailureMixedConcurrentPreclean() throws IOException GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(2, jvmRun.getEventTypes().size(), "Event type count not correct."); @@ -1424,7 +1424,7 @@ void testParNewMixedCmsConcurrent() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1444,7 +1444,7 @@ void testParNewMixedHeapAtGc() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1466,7 +1466,7 @@ void testParNewPrefixed() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(1, jvmRun.getEventTypes().size(), "Event type count not correct."); @@ -1488,7 +1488,7 @@ void testParNewPrintHeapAtGc() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1506,7 +1506,7 @@ void testParNewPromotionFailedTruncatedEventLogging() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1534,7 +1534,7 @@ void testParNewWithFlsStatistics() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(1, jvmRun.getEventTypes().size(), "Event type count not correct."); @@ -1552,7 +1552,7 @@ void testPrintFLSStatistics2ParNewOver4Lines() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(2, jvmRun.getEventTypes().size(), "Event type count not correct."); @@ -1572,7 +1572,7 @@ void testPrintPromotionFailure() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(4, jvmRun.getEventTypes().size(), "Event type count not correct."); @@ -1595,7 +1595,7 @@ void testSplit3LinesCmsConcurrentModeFailureEventLogging() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1620,7 +1620,7 @@ void testSplitCmsConcurrentModeFailureEventAbortablePrecleanLogging() throws IOE GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1647,7 +1647,7 @@ void testSplitCmsConcurrentModeFailureEventMarkLogging() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1675,7 +1675,7 @@ void testSplitMixedTenuringParNewPromotionEventWithTriggerLogging() throws IOExc GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1699,7 +1699,7 @@ void testSplitMixedTenuringParNewPromotionFailedEventLogging() throws IOExceptio GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1722,7 +1722,7 @@ void testSplitPrintHeapAtGcCmsSerialOldConcurrentModeFailureLogging() throws IOE GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1749,7 +1749,7 @@ void testSplitPrintHeapAtGcCmsSerialOldLogging() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1772,7 +1772,7 @@ void testSplitPrintHeapAtGcParNewPromotionFailedCmsConcurrentModeFailureEventLog GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1792,7 +1792,7 @@ void testUnknownWithCmsConcurrent() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); String lastLogLineUnprocessed = "130454.251: [Full GC (Allocation Failure) 130454.251: [CMS130456.427: " diff --git a/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestG1PreprocessAction.java b/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestG1PreprocessAction.java index 34204c9f..64ae2a5c 100644 --- a/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestG1PreprocessAction.java +++ b/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestG1PreprocessAction.java @@ -391,7 +391,7 @@ void testConcurrentStringDeduplicatonLogging() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(1, jvmRun.getEventTypes().size(), "Event type count not correct."); @@ -549,7 +549,7 @@ void testFullGcMixedConcurrent() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -591,7 +591,7 @@ void testFullMixedConcurrent() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -682,7 +682,7 @@ void testG1Concurrent() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -725,7 +725,7 @@ void testG1ExtRootScanning() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -747,7 +747,7 @@ void testG1Full() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -773,7 +773,7 @@ void testG1Full3Lines() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -821,7 +821,7 @@ void testG1FullIdentificationWithoutPrintGcDetails() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -853,7 +853,7 @@ void testG1FullJvmTiForcedGarbageCollectionTrigger() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -879,7 +879,7 @@ void testG1FullLastDitchCollectionTrigger() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -932,7 +932,7 @@ void testG1FullWithPrintClassHistogram() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -973,7 +973,7 @@ void testG1PreprocessActionCleanupLogging() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -995,7 +995,7 @@ void testG1PreprocessActionConcurrentLogging() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1019,7 +1019,7 @@ void testG1PreprocessActionG1EvacuationPauseLogging() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1041,7 +1041,7 @@ void testG1PreprocessActionG1FullGCLogging() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1069,7 +1069,7 @@ void testG1PreprocessActionG1InitialMarkWithCodeRootLogging() throws IOException GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1091,7 +1091,7 @@ void testG1PreprocessActionG1YoungInitialMarkWithG1ErgonomicsLogging() throws IO GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1113,7 +1113,7 @@ void testG1PreprocessActionG1YoungInitialMarkWithTriggerAndG1ErgonomicsLogging() GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1137,7 +1137,7 @@ void testG1PreprocessActionG1YoungPauseLogging() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1160,7 +1160,7 @@ void testG1PreprocessActionG1YoungPauseTriggerToSpaceExhaustedWithG1ErgonomicsLo GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1184,7 +1184,7 @@ void testG1PreprocessActionG1YoungPauseWithG1ErgonomicsLogging() throws IOExcept GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1208,7 +1208,7 @@ void testG1PreprocessActionG1YoungPauseWithG1ErgonomicsLogging2() throws IOExcep GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1232,7 +1232,7 @@ void testG1PreprocessActionG1YoungPauseWithG1ErgonomicsLogging3() throws IOExcep GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1256,7 +1256,7 @@ void testG1PreprocessActionG1YoungPauseWithG1ErgonomicsLogging4() throws IOExcep GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1280,7 +1280,7 @@ void testG1PreprocessActionG1YoungPauseWithG1ErgonomicsLogging5() throws IOExcep GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1304,7 +1304,7 @@ void testG1PreprocessActionG1YoungPauseWithG1ErgonomicsLogging6() throws IOExcep GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1330,7 +1330,7 @@ void testG1PreprocessActionG1YoungPauseWithGCLockerInitiatedGCLogging() throws I GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1355,7 +1355,7 @@ void testG1PreprocessActionMixedPauseLogging() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1377,7 +1377,7 @@ void testG1PreprocessActionMixedPauseNoTriggerLogging() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1399,7 +1399,7 @@ void testG1PreprocessActionRemarkLogging() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1421,7 +1421,7 @@ void testG1PreprocessActionToSpaceExhaustedLogging() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1445,7 +1445,7 @@ void testG1PreprocessActionYoungConcurrentLogging() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1469,7 +1469,7 @@ void testG1PreprocessActionYoungInitialMarkLogging() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1791,7 +1791,7 @@ void testG1YoungInitialMark() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1847,7 +1847,7 @@ void testG1YoungPauseEvacuationFailure() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1884,7 +1884,7 @@ void testG1YoungPauseNoSizeDetails() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1999,7 +1999,7 @@ void testInvertedSerialism() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -2232,7 +2232,7 @@ void testPreprocessingFullMixedConcurrent() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -2250,7 +2250,7 @@ void testPreprocessingWithCommas() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -2266,7 +2266,7 @@ void testPreprocessingYoungMixedConcurrent() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -2284,7 +2284,7 @@ void testPreprocessingYoungMixedErgonomics() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -2409,7 +2409,7 @@ void testPrintReferenceGcPrintAdaptiveSizePolicyPreparsing() throws IOException GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -2537,7 +2537,7 @@ void testRemarkPreprocessing() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -2555,7 +2555,7 @@ void testRemarkPrintReferenceGc() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -2577,7 +2577,7 @@ void testRemarkWithFinalizeMarkingAndUnloading() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -2737,7 +2737,7 @@ void testSummarizeRSetStatsPreprocessing() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -2761,7 +2761,7 @@ void testSysGreaterThanUser() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(1, jvmRun.getEventTypes().size(), "Event type count not correct."); @@ -2839,7 +2839,7 @@ void testTriggerHeapDumpInitiatedGcClassHistogram() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), diff --git a/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestParallelPreprocessAction.java b/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestParallelPreprocessAction.java index 9c0d542b..a94e0f7e 100644 --- a/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestParallelPreprocessAction.java +++ b/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestParallelPreprocessAction.java @@ -242,7 +242,7 @@ void testParallelSerialOldAcrossMultipleLinesMixedGcTimeLimitLogging() throws IO GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -269,7 +269,7 @@ void testPreprocessingPrintAdaptiveSizePolicy() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -291,7 +291,7 @@ void testSplitParallelScavengeEventLogging() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -316,7 +316,7 @@ void testSplitParallelSerialOldEventLogging() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -344,7 +344,7 @@ void testUnloadingClassPreprocessActionParallelSerialOldEventLogging() throws IO GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), diff --git a/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestSerialPreprocessAction.java b/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestSerialPreprocessAction.java index ce5ee459..9c21755a 100644 --- a/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestSerialPreprocessAction.java +++ b/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestSerialPreprocessAction.java @@ -65,7 +65,7 @@ void testSerialNewPrintTenuringDistributionPreprocessing() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), diff --git a/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestShenandoahPreprocessAction.java b/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestShenandoahPreprocessAction.java index 5821415d..835e7975 100644 --- a/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestShenandoahPreprocessAction.java +++ b/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/TestShenandoahPreprocessAction.java @@ -134,7 +134,7 @@ void testConcurrentCleanupConcurrentReset() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -755,7 +755,7 @@ void testPreprocessingConcurrent() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -771,7 +771,7 @@ void testPreprocessingConcurrentEvacuationCancellingGc() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -791,7 +791,7 @@ void testPreprocessingConcurrentMarkingCancellingGc() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -807,7 +807,7 @@ void testPreprocessingConcurrentWithMetaspace() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -823,7 +823,7 @@ void testPreprocessingMetaspaceThrowaway() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), diff --git a/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/unified/TestUnifiedPreprocessAction.java b/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/unified/TestUnifiedPreprocessAction.java index c18bdc90..1fb96662 100644 --- a/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/unified/TestUnifiedPreprocessAction.java +++ b/src/test/java/org/eclipselabs/garbagecat/preprocess/jdk/unified/TestUnifiedPreprocessAction.java @@ -330,7 +330,7 @@ void testBackToBackSafepoint() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -603,7 +603,7 @@ void testConcurrentBeforeSafepoint() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -933,7 +933,7 @@ void testDebugLoggingG1Cycle() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -957,7 +957,7 @@ void testDebugLoggingG1YoungPause() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1117,7 +1117,7 @@ void testElasticSearchDefaultLoggingPattern() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1380,7 +1380,7 @@ void testG1CollectForAllocation() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1506,7 +1506,7 @@ void testG1FullGcParallelConcurrentIntermingled() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1604,7 +1604,7 @@ void testG1FullTriggerGcLockerInitiatedGc() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1620,7 +1620,7 @@ void testG1FullTriggerMetadataGcThreshold() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1987,7 +1987,7 @@ void testG1Preparsing() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -2011,7 +2011,7 @@ void testG1PreparsingHugeHeap() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -2219,7 +2219,7 @@ void testG1YoungPauseWithSafepoint() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -2421,7 +2421,7 @@ void testJdk17G1() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -2677,7 +2677,7 @@ void testMinimalJdk21G1() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -2878,7 +2878,7 @@ void testParallelPrintAdaptiveSizePolicy() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -2894,7 +2894,7 @@ void testParallelPrintAdaptiveSizePolicyDoScavenge() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -2937,7 +2937,7 @@ void testParallelYoungParallelSerialMixedSafepoint() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -3451,7 +3451,7 @@ void testPreprocessingCms() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -3473,7 +3473,7 @@ void testPreprocessingG1Cleanup() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -3489,7 +3489,7 @@ void testPreprocessingG1FullAndConcurrent() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -3507,7 +3507,7 @@ void testPreprocessingG1Remark() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -3543,7 +3543,7 @@ void testPreprocessingG1YoungPauseNormalCollection() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -3559,7 +3559,7 @@ void testPreprocessingG1YoungPauseNormalTriggerGcLockerWithDatestamps() throws I GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -3575,7 +3575,7 @@ void testPreprocessingParallelCompactingOld() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -3590,7 +3590,7 @@ void testPreprocessingParallelScavengeParallelCompactingOld() throws IOException GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -3606,7 +3606,7 @@ void testPreprocessingParallelScavengeSerialOld() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -3622,7 +3622,7 @@ void testPreprocessingParNew() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -3638,7 +3638,7 @@ void testPreprocessingSerialNew() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -3655,7 +3655,7 @@ void testPreprocessingSerialNewAllocationFailureTriggersSerialOldDetails() throw GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -3674,7 +3674,7 @@ void testPreprocessingSerialOldTriggerErgonomics() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -4080,7 +4080,7 @@ void testSafepoint() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -4138,7 +4138,7 @@ void testSafepointG1CollectFull() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -4156,7 +4156,7 @@ void testSafepointG1PauseYoung() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -4176,7 +4176,7 @@ void testSafepointHandshakeFallBack() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -4242,7 +4242,7 @@ void testSafepointParallel() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -4566,7 +4566,7 @@ void testShenandoahCycle1() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -4601,7 +4601,7 @@ void testShenandoahCycle2() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -4649,7 +4649,7 @@ void testShenandoahDegeneratedGc() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -4881,7 +4881,7 @@ void testShenandoahFinalMarkMixedSafepoint() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -4937,7 +4937,7 @@ void testShenandoahFinalUpdateMixedSafepoint() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -5081,7 +5081,7 @@ void testShenandoahInitMarkMixedSafepoint() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -5186,7 +5186,7 @@ void testShenandoahInitUpdateMixedSafepoint() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -5242,7 +5242,7 @@ void testShenandoahJdk17Datestamp() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -5268,7 +5268,7 @@ void testShenandoahJdk17Uptime() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -5310,7 +5310,7 @@ void testShenandoahMaxHeapData() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -5632,7 +5632,7 @@ void testShenandoahPauseInitUpdateRefs() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -5664,7 +5664,7 @@ void testShenandoahPreprocessingFinalEvac() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -5680,7 +5680,7 @@ void testShenandoahPreprocessingFinalMark() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -5696,7 +5696,7 @@ void testShenandoahPreprocessingFinalUpdate() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -5712,7 +5712,7 @@ void testShenandoahPreprocessingInitialMark() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -5728,7 +5728,7 @@ void testShenandoahPreprocessingInitUpdate() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -6178,7 +6178,7 @@ void testStringDeduplication() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(1, jvmRun.getEventTypes().size(), "Event type count not correct."); @@ -6381,7 +6381,7 @@ void testUnifiedG1FullGcTriggerG1HumongousAllocation() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -6397,7 +6397,7 @@ void testUnifiedOldSingleLine() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -6417,7 +6417,7 @@ void testUnifiedRemarkMixedSafepoint() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -6464,7 +6464,7 @@ void testUnifiedYoungPreparsing() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -7412,7 +7412,7 @@ void testZPreparsing() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -7438,7 +7438,7 @@ void testZPreparsingGenerationalOldCollection() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -7480,7 +7480,7 @@ void testZPreparsingGenerationalYoungCollection() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), diff --git a/src/test/java/org/eclipselabs/garbagecat/service/TestGcManager.java b/src/test/java/org/eclipselabs/garbagecat/service/TestGcManager.java index 5318c8d1..e23b5142 100644 --- a/src/test/java/org/eclipselabs/garbagecat/service/TestGcManager.java +++ b/src/test/java/org/eclipselabs/garbagecat/service/TestGcManager.java @@ -89,6 +89,6 @@ void testNullPointerExceptionNotRaised() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); } } diff --git a/src/test/java/org/eclipselabs/garbagecat/util/jdk/TestAnalysis.java b/src/test/java/org/eclipselabs/garbagecat/util/jdk/TestAnalysis.java index 7c2645b4..c4f66c70 100644 --- a/src/test/java/org/eclipselabs/garbagecat/util/jdk/TestAnalysis.java +++ b/src/test/java/org/eclipselabs/garbagecat/util/jdk/TestAnalysis.java @@ -85,7 +85,7 @@ void testApplicationLogging() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertTrue(jvmRun.hasAnalysis(Analysis.WARN_APPLICATION_LOGGING.getKey()), @@ -282,7 +282,7 @@ void testExitOnOutOfMemoryError() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertTrue(jvmRun.hasAnalysis(Analysis.ERROR_OOME_EXIT.getKey()), @@ -297,7 +297,7 @@ void testExplicitGcDiagnostic() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertEquals(1, jvmRun.getEventTypes().size(), "Event type count not correct."); @@ -366,7 +366,7 @@ void testFooterHeapEvent() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -458,7 +458,7 @@ void testHeapDumpBeforeAndAfterFullGc() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -649,7 +649,7 @@ void testOomeMetaspace() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertFalse(jvmRun.getEventTypes().contains(LogEventType.UNKNOWN), @@ -1023,7 +1023,7 @@ void testZStatisticsIntervalPreprocess() throws IOException { GcManager gcManager = new GcManager(); URI logFileUri = testFile.toURI(); List logLines = Files.readAllLines(Paths.get(logFileUri)); - logLines = gcManager.preprocess(logLines, null); + logLines = gcManager.preprocess(logLines); gcManager.store(logLines, false); JvmRun jvmRun = gcManager.getJvmRun(null, Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD); assertTrue(jvmRun.hasAnalysis(Analysis.INFO_Z_STATISTICS_INTERVAL.getKey()),