src/share/vm/services/classLoadingService.cpp

changeset 6680
78bbf4d43a14
parent 5802
268e7a2178d7
child 6876
710a3c8b516e
child 7770
6f31df24cec0
equal deleted inserted replaced
6678:7384f6a12fc1 6680:78bbf4d43a14
1 /* 1 /*
2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
155 } 155 }
156 } 156 }
157 157
158 if (TraceClassUnloading) { 158 if (TraceClassUnloading) {
159 ResourceMark rm; 159 ResourceMark rm;
160 tty->print_cr("[Unloading class %s " INTPTR_FORMAT "]", k->external_name(), k); 160 tty->print_cr("[Unloading class %s " INTPTR_FORMAT "]", k->external_name(), p2i(k));
161 } 161 }
162 } 162 }
163 163
164 void ClassLoadingService::notify_class_loaded(InstanceKlass* k, bool shared_class) { 164 void ClassLoadingService::notify_class_loaded(InstanceKlass* k, bool shared_class) {
165 DTRACE_CLASSLOAD_PROBE(loaded, k, shared_class); 165 DTRACE_CLASSLOAD_PROBE(loaded, k, shared_class);

mercurial