src/share/vm/classfile/systemDictionary.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/classfile/systemDictionary.cpp	Thu Jan 21 19:08:30 2016
--- new/src/share/vm/classfile/systemDictionary.cpp	Thu Jan 21 19:08:30 2016

*** 1,7 **** --- 1,7 ---- /* ! * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. ! * 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.
*** 1300,1317 **** --- 1300,1314 ---- check_loader_lock_contention(lockObject, THREAD); ObjectLocker ol(lockObject, THREAD, true); ik->restore_unshareable_info(loader_data, protection_domain, CHECK_(nh)); } ! if (TraceClassLoading) { ! ResourceMark rm; tty->print("[Loaded %s", ik->external_name()); tty->print(" from shared objects file"); if (class_loader.not_null()) { tty->print(" by %s", loader_data->loader_name()); ! if (log_is_enabled(Info, classload)) { ! ik()->print_loading_log(LogLevel::Info, loader_data, NULL); } tty->print_cr("]"); + else if (log_is_enabled(Debug, classload)) { + ik()->print_loading_log(LogLevel::Debug, loader_data, NULL); } if (DumpLoadedClassList != NULL && classlist_file->is_open()) { // Only dump the classes that can be stored into CDS archive if (SystemDictionaryShared::is_sharing_possible(loader_data)) {

src/share/vm/classfile/systemDictionary.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File