1.1 --- a/src/share/vm/prims/jvmtiRedefineClassesTrace.hpp Tue Feb 05 00:59:40 2013 -0800 1.2 +++ b/src/share/vm/prims/jvmtiRedefineClassesTrace.hpp Wed Feb 06 14:31:37 2013 -0800 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -54,7 +54,7 @@ 1.11 // 0x00000800 | 2048 - previous class breakpoint mgmt 1.12 // 0x00001000 | 4096 - detect calls to obsolete methods 1.13 // 0x00002000 | 8192 - fail a guarantee() in addition to detection 1.14 -// 0x00004000 | 16384 - unused 1.15 +// 0x00004000 | 16384 - detect old/obsolete methods in metadata 1.16 // 0x00008000 | 32768 - old/new method matching/add/delete 1.17 // 0x00010000 | 65536 - impl details: CP size info 1.18 // 0x00020000 | 131072 - impl details: CP merge pass info 1.19 @@ -82,6 +82,13 @@ 1.20 tty->print_cr args; \ 1.21 } while (0) 1.22 1.23 +#define RC_TRACE_NO_CR(level, args) \ 1.24 + if ((TraceRedefineClasses & level) != 0) { \ 1.25 + ResourceMark rm; \ 1.26 + tty->print("RedefineClasses-0x%x: ", level); \ 1.27 + tty->print args; \ 1.28 + } while (0) 1.29 + 1.30 #define RC_TRACE_WITH_THREAD(level, thread, args) \ 1.31 if ((TraceRedefineClasses & level) != 0) { \ 1.32 ResourceMark rm(thread); \