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); |