src/share/vm/runtime/stubRoutines.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/runtime/stubRoutines.cpp	Wed Feb 10 16:34:40 2016
--- new/src/share/vm/runtime/stubRoutines.cpp	Wed Feb 10 16:34:40 2016

*** 23,32 **** --- 23,33 ---- */ #include "precompiled.hpp" #include "asm/codeBuffer.hpp" #include "code/codeCacheExtensions.hpp" + #include "logging/log.hpp" #include "memory/resourceArea.hpp" #include "oops/oop.inline.hpp" #include "runtime/interfaceSupport.hpp" #include "runtime/sharedRuntime.hpp" #include "runtime/stubRoutines.hpp"
*** 181,191 **** --- 182,194 ---- extern void StubGenerator_generate(CodeBuffer* code, bool all); // only interface to generators void StubRoutines::initialize1() { if (_code1 == NULL) { ResourceMark rm; - TraceTime timer("StubRoutines generation 1", TraceStartupTime); + log_is_enabled(Info, startuptime), + LogTag::_startuptime); _code1 = BufferBlob::create("StubRoutines (1)", code_size1); if (_code1 == NULL) { vm_exit_out_of_memory(code_size1, OOM_MALLOC_ERROR, "CodeCache: no room for StubRoutines (1)"); } CodeBuffer buffer(_code1);
*** 274,284 **** --- 277,289 ---- #endif void StubRoutines::initialize2() { if (_code2 == NULL) { ResourceMark rm; - TraceTime timer("StubRoutines generation 2", TraceStartupTime); + log_is_enabled(Info, startuptime), + LogTag::_startuptime); _code2 = BufferBlob::create("StubRoutines (2)", code_size2); if (_code2 == NULL) { vm_exit_out_of_memory(code_size2, OOM_MALLOC_ERROR, "CodeCache: no room for StubRoutines (2)"); } CodeBuffer buffer(_code2);

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