From 6f7723b4ac8a4ec322b375b035e4a1078aea7653 Mon Sep 17 00:00:00 2001 From: Eric Caspole Date: Fri, 8 Jan 2021 14:18:21 +0000 Subject: [PATCH] 8258792: LogCompilation: remove redundant check fixed by 8257518 Reviewed-by: kvn, redestad --- .../java/com/sun/hotspot/tools/compiler/LogCompilation.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/utils/LogCompilation/src/main/java/com/sun/hotspot/tools/compiler/LogCompilation.java b/src/utils/LogCompilation/src/main/java/com/sun/hotspot/tools/compiler/LogCompilation.java index b62c4c50692..e8efb24d722 100644 --- a/src/utils/LogCompilation/src/main/java/com/sun/hotspot/tools/compiler/LogCompilation.java +++ b/src/utils/LogCompilation/src/main/java/com/sun/hotspot/tools/compiler/LogCompilation.java @@ -482,9 +482,6 @@ public class LogCompilation extends DefaultHandler implements ErrorHandler { BasicLogEvent ble = (BasicLogEvent) e; Compilation c = ble.getCompilation(); if (c == null) { - if (!(ble instanceof NMethod)) { - throw new InternalError("only nmethods should have a null compilation; here's a " + ble.getClass()); - } continue; } String name = c.getMethod().getFullName();