hotspot/src/share/vm/services/classLoadingService.cpp
changeset 24424 2658d7834c6e
parent 22796 bb0ea482a99e
child 31371 311143309e73
equal deleted inserted replaced
24358:8528b67f6562 24424:2658d7834c6e
     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.
   134     }
   134     }
   135   }
   135   }
   136 
   136 
   137   if (TraceClassUnloading) {
   137   if (TraceClassUnloading) {
   138     ResourceMark rm;
   138     ResourceMark rm;
   139     tty->print_cr("[Unloading class %s " INTPTR_FORMAT "]", k->external_name(), k);
   139     tty->print_cr("[Unloading class %s " INTPTR_FORMAT "]", k->external_name(), p2i(k));
   140   }
   140   }
   141 }
   141 }
   142 
   142 
   143 void ClassLoadingService::notify_class_loaded(InstanceKlass* k, bool shared_class) {
   143 void ClassLoadingService::notify_class_loaded(InstanceKlass* k, bool shared_class) {
   144   DTRACE_CLASSLOAD_PROBE(loaded, k, shared_class);
   144   DTRACE_CLASSLOAD_PROBE(loaded, k, shared_class);