src/hotspot/share/ci/ciEnv.cpp
changeset 54015 cd701366fcf8
parent 53911 65f2a401e0eb
child 54786 ebf733a324d4
--- 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;