src/share/vm/classfile/classLoader.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/classfile/classLoader.cpp Fri Jan 8 01:43:04 2016
--- new/src/share/vm/classfile/classLoader.cpp Fri Jan 8 01:43:04 2016
*** 1,7 ****
--- 1,7 ----
/*
! * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
! * 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.
*** 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/log.hpp"
#include "memory/allocation.inline.hpp"
#include "memory/filemap.hpp"
#include "memory/oopFactory.hpp"
#include "memory/universe.inline.hpp"
#include "oops/instanceKlass.hpp"
*** 575,592 ****
--- 576,595 ----
} else {
return NULL;
}
}
}
! if (TraceClassLoading || TraceClassPaths) {
! tty->print_cr("[Opened %s]", path);
! if (log_is_enabled(Info, classload)) {
! outputStream* log = LogHandle(classload)::info_stream();
+ log->print_cr("[Opened %s]", path);
}
} else {
// Directory
new_entry = new ClassPathDirEntry(path);
! if (TraceClassLoading) {
! tty->print_cr("[Path %s]", path);
! if (log_is_enabled(Info, classload)) {
! outputStream* log = LogHandle(classload)::info_stream();
+ log->print_cr("[Path %s]", path);
}
}
return new_entry;
}
src/share/vm/classfile/classLoader.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File