src/share/vm/oops/klass.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File classload.01 Cdiff src/share/vm/oops/klass.cpp

src/share/vm/oops/klass.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 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. --- 1,7 ---- /* ! * Copyright (c) 1997, 2016, 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.
*** 38,47 **** --- 38,48 ---- #include "runtime/atomic.inline.hpp" #include "runtime/orderAccess.inline.hpp" #include "trace/traceMacros.hpp" #include "utilities/macros.hpp" #include "utilities/stack.inline.hpp" + #include "logging/log.hpp" #if INCLUDE_ALL_GCS #include "gc/g1/g1SATBCardTableModRefBS.hpp" #endif // INCLUDE_ALL_GCS void Klass::set_name(Symbol* n) {
*** 384,396 **** // Find and set the first alive subklass Klass* sub = current->subklass(); while (sub != NULL && !sub->is_loader_alive(is_alive)) { #ifndef PRODUCT ! if (TraceClassUnloading && WizardMode) { ResourceMark rm; ! tty->print_cr("[Unlinking class (subclass) %s]", sub->external_name()); } #endif sub = sub->next_sibling(); } current->set_subklass(sub); --- 385,397 ---- // Find and set the first alive subklass Klass* sub = current->subklass(); while (sub != NULL && !sub->is_loader_alive(is_alive)) { #ifndef PRODUCT ! if (log_is_enabled(Trace, classunload)) { ResourceMark rm; ! log_trace(classunload)("[Unlinking class (subclass) %s]", sub->external_name()); } #endif sub = sub->next_sibling(); } current->set_subklass(sub);
*** 399,411 **** } // Find and set the first alive sibling Klass* sibling = current->next_sibling(); while (sibling != NULL && !sibling->is_loader_alive(is_alive)) { ! if (TraceClassUnloading && WizardMode) { ResourceMark rm; ! tty->print_cr("[Unlinking class (sibling) %s]", sibling->external_name()); } sibling = sibling->next_sibling(); } current->set_next_sibling(sibling); if (sibling != NULL) { --- 400,412 ---- } // Find and set the first alive sibling Klass* sibling = current->next_sibling(); while (sibling != NULL && !sibling->is_loader_alive(is_alive)) { ! if (log_is_enabled(Trace, classunload)) { ResourceMark rm; ! log_trace(classunload)("[Unlinking class (sibling) %s]", sibling->external_name()); } sibling = sibling->next_sibling(); } current->set_next_sibling(sibling); if (sibling != NULL) {
src/share/vm/oops/klass.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File