src/share/vm/classfile/classLoader.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File classpath.03 Cdiff src/share/vm/classfile/classLoader.cpp

src/share/vm/classfile/classLoader.cpp

Print this page

        

*** 35,44 **** --- 35,45 ---- #include "compiler/compileBroker.hpp" #include "gc/shared/collectedHeap.inline.hpp" #include "gc/shared/generation.hpp" #include "interpreter/bytecodeStream.hpp" #include "interpreter/oopMapCache.hpp" + #include "logging/logTag.hpp" #include "memory/allocation.inline.hpp" #include "memory/filemap.hpp" #include "memory/oopFactory.hpp" #include "memory/universe.inline.hpp" #include "oops/instanceKlass.hpp"
*** 415,434 **** #endif #if INCLUDE_CDS void ClassLoader::exit_with_path_failure(const char* error, const char* message) { assert(DumpSharedSpaces, "only called at dump time"); ! tty->print_cr("Hint: enable -XX:+TraceClassPaths to diagnose the failure"); vm_exit_during_initialization(error, message); } #endif void ClassLoader::trace_class_path(outputStream* out, const char* msg, const char* name) { ! if (!TraceClassPaths) { return; } - if (msg) { out->print("%s", msg); } if (name) { if (strlen(name) < 256) { --- 416,434 ---- #endif #if INCLUDE_CDS void ClassLoader::exit_with_path_failure(const char* error, const char* message) { assert(DumpSharedSpaces, "only called at dump time"); ! tty->print_cr("Hint: enable -Xlog:classpath=info to diagnose the failure"); vm_exit_during_initialization(error, message); } #endif void ClassLoader::trace_class_path(outputStream* out, const char* msg, const char* name) { ! if (!log_is_enabled(Info, classpath)) { return; } if (msg) { out->print("%s", msg); } if (name) { if (strlen(name) < 256) {
*** 576,588 **** } else { return NULL; } } } ! if (TraceClassPaths) { ! tty->print_cr("[Opened %s]", path); ! } log_info(classload)("opened: %s", path); } else { // Directory new_entry = new ClassPathDirEntry(path); log_info(classload)("path: %s", path); --- 576,586 ---- } else { return NULL; } } } ! log_info(classpath)("opened: %s", path); log_info(classload)("opened: %s", path); } else { // Directory new_entry = new ClassPathDirEntry(path); log_info(classload)("path: %s", path);
src/share/vm/classfile/classLoader.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File