Skip to content
Permalink
Browse files
8258792: LogCompilation: remove redundant check fixed by 8257518
Reviewed-by: kvn, redestad
  • Loading branch information
Eric Caspole committed Jan 8, 2021
1 parent 697bf7a commit 6f7723b
Showing 1 changed file with 0 additions and 3 deletions.
@@ -482,9 +482,6 @@ public static void printTrapHistory(ArrayList<LogEvent> events, PrintStream out)
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();

1 comment on commit 6f7723b

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.