Mercurial > hg > graal-jvmci-8
changeset 22749:ef604fb44c7a
Group recompilations by method name only in LogCompilation tool
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Tue, 15 Dec 2015 09:03:09 -0800 |
parents | 4c89b26b4b28 |
children | cbdce7fb4091 |
files | src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/LogCompilation.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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<String, List<String>> t = traps.get(uc.getCompilation().longMethodName()); + Map<String, List<String>> t = traps.get(uc.getCompilation().getMethod().toString()); if (t == null) { t = new LinkedHashMap<String, List<String>>(); - traps.put(uc.getCompilation().longMethodName(), t); + traps.put(uc.getCompilation().getMethod().toString(), t); } String msg = uc.formatTrap().trim(); List<String> i = t.get(msg);