--- a/test/hotspot/jtreg/gc/logging/TestMetaSpaceLog.java Mon Feb 18 10:48:48 2019 +0100
+++ b/test/hotspot/jtreg/gc/logging/TestMetaSpaceLog.java Mon Feb 18 12:08:08 2019 +0100
@@ -27,7 +27,6 @@
import java.io.File;
import java.net.URL;
import java.net.URLClassLoader;
-import java.util.function.Predicate;
import java.util.regex.Pattern;
import java.util.regex.Matcher;
@@ -67,8 +66,6 @@
}
private static void verifyContainsMetaSpaceUpdate(OutputAnalyzer output) {
- Predicate<String> collectedMetaSpace = line -> check(line);
-
// At least one metaspace line from GC should show GC being collected.
boolean foundCollectedMetaSpace = output.asLines().stream()
.filter(s -> s.contains("[gc,metaspace"))