< prev index next >

src/hotspot/share/compiler/compileTask.cpp

Print this page

        

@@ -414,11 +414,13 @@
   }
   log->stamp();
   log->end_elem();
   log->clear_identities();   // next task will have different CI
   log->tail("task");
-  log->flush();
+  if (log->unflushed_count() > 2000) {
+    log->flush();
+  }
   log->mark_file_end();
 }
 
 // ------------------------------------------------------------------
 // CompileTask::check_break_at_flags
< prev index next >