# HG changeset patch # User Tom Rodriguez # Date 1450198989 28800 # Node ID ef604fb44c7a9c56d268f09f54b74b8e4d872e63 # Parent 4c89b26b4b2852b85ba9c22d5b3f0f664b1c9214 Group recompilations by method name only in LogCompilation tool diff -r 4c89b26b4b28 -r ef604fb44c7a src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/LogCompilation.java --- a/src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/LogCompilation.java Tue Dec 15 09:02:42 2015 -0800 +++ b/src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/LogCompilation.java Tue Dec 15 09:03:09 2015 -0800 @@ -208,10 +208,10 @@ for (LogEvent e : events) { if (e instanceof UncommonTrapEvent) { UncommonTrapEvent uc = (UncommonTrapEvent) e; - Map> t = traps.get(uc.getCompilation().longMethodName()); + Map> t = traps.get(uc.getCompilation().getMethod().toString()); if (t == null) { t = new LinkedHashMap>(); - traps.put(uc.getCompilation().longMethodName(), t); + traps.put(uc.getCompilation().getMethod().toString(), t); } String msg = uc.formatTrap().trim(); List i = t.get(msg);