diff -r 083d7a34bbfd -r cd701366fcf8 src/hotspot/share/ci/ciEnv.cpp --- a/src/hotspot/share/ci/ciEnv.cpp Thu Mar 07 00:23:45 2019 +0100 +++ b/src/hotspot/share/ci/ciEnv.cpp Thu Mar 07 08:38:16 2019 +0100 @@ -119,6 +119,9 @@ _system_dictionary_modification_counter = system_dictionary_modification_counter; _num_inlined_bytecodes = 0; assert(task == NULL || thread->task() == task, "sanity"); + if (task != NULL) { + task->mark_started(os::elapsed_counter()); + } _task = task; _log = NULL;