-Xlog:startuptime doesn't currently print the time for the call to initPhase2, instead you need to run with -Xlog:startuptime+module due to the way that the timer is created:
TraceTime timer("Phase2 initialization", TRACETIME_LOG(Info, module, startuptime));
Can we change this to drop "module" so that -Xlog:startuptime provides complete output?
TraceTime timer("Phase2 initialization", TRACETIME_LOG(Info, module, startuptime));
Can we change this to drop "module" so that -Xlog:startuptime provides complete output?
- relates to
-
JDK-8153394 Add Unified Logging to make it easy to trace time taken in initPhase2
-
- Resolved
-