< prev index next >

src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/UncommonTrapEvent.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2009, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 48,58 **** public void updateCount(UncommonTrapEvent trap) { setCount(Math.max(getCount(), trap.getCount())); } public void print(PrintStream stream) { ! stream.printf("%s uncommon trap %s %s\n", getId(), getReason(), getAction()); stream.print(getJvms()); } public String getReason() { return reason; --- 48,58 ---- public void updateCount(UncommonTrapEvent trap) { setCount(Math.max(getCount(), trap.getCount())); } public void print(PrintStream stream) { ! stream.printf("%s uncommon trap %.3f %s %s\n", getId(), getStart(), getReason(), getAction()); stream.print(getJvms()); } public String getReason() { return reason;
< prev index next >