< prev index next >

src/share/vm/opto/runtime.cpp

Print this page
rev 13288 : imported patch 8181917-refactor-ul-logstream

*** 41,50 **** --- 41,51 ---- #include "gc/shared/gcLocker.inline.hpp" #include "interpreter/bytecode.hpp" #include "interpreter/interpreter.hpp" #include "interpreter/linkResolver.hpp" #include "logging/log.hpp" + #include "logging/logStream.hpp" #include "memory/oopFactory.hpp" #include "memory/resourceArea.hpp" #include "oops/objArrayKlass.hpp" #include "oops/oop.inline.hpp" #include "oops/typeArrayOop.inline.hpp"
*** 1285,1297 **** // exception handler can cause class loading, which might throw an // exception and those fields are expected to be clear during // normal bytecode execution. thread->clear_exception_oop_and_pc(); ! if (log_is_enabled(Info, exceptions)) { ResourceMark rm; ! trace_exception(Log(exceptions)::info_stream(), exception(), pc, ""); } // for AbortVMOnException flag Exceptions::debug_check_abort(exception); --- 1286,1300 ---- // exception handler can cause class loading, which might throw an // exception and those fields are expected to be clear during // normal bytecode execution. thread->clear_exception_oop_and_pc(); ! LogTarget(Info, exceptions) lt; ! if (lt.is_enabled()) { ResourceMark rm; ! LogStream ls(lt); ! trace_exception(&ls, exception(), pc, ""); } // for AbortVMOnException flag Exceptions::debug_check_abort(exception);
< prev index next >