src/Pure/Tools/build.scala
changeset 69744 bb0a354f6b46
parent 69671 2486792eaf61
child 69777 1df241e340c8
equal deleted inserted replaced
69743:6a9a8ef5e4c6 69744:bb0a354f6b46
   231           Isabelle_System.settings() +
   231           Isabelle_System.settings() +
   232             ("ISABELLE_EXPORT_TMP" -> File.standard_path(export_tmp_dir)) +
   232             ("ISABELLE_EXPORT_TMP" -> File.standard_path(export_tmp_dir)) +
   233             ("ISABELLE_ML_DEBUGGER" -> options.bool("ML_debugger").toString)
   233             ("ISABELLE_ML_DEBUGGER" -> options.bool("ML_debugger").toString)
   234 
   234 
   235         def save_heap: String =
   235         def save_heap: String =
   236           (if (info.theories.isEmpty) "" else "ML_Heap.share_common_data (); ") +
   236           (if (info.theories.isEmpty) ""
       
   237            else """cond_timeit true "share_common_data" ML_Heap.share_common_data; """) +
   237             "ML_Heap.save_child " +
   238             "ML_Heap.save_child " +
   238             ML_Syntax.print_string_bytes(File.platform_path(store.output_heap(name)))
   239             ML_Syntax.print_string_bytes(File.platform_path(store.output_heap(name)))
   239 
   240 
   240         if (pide && !Sessions.is_pure(name)) {
   241         if (pide && !Sessions.is_pure(name)) {
   241           val resources = new Resources(deps(parent))
   242           val resources = new Resources(deps(parent))