src/Pure/Tools/dump.scala
changeset 70645 fc27cecb66d8
parent 70640 5f4b8a505090
child 70653 f7c5b30fc432
equal deleted inserted replaced
70644:b23a6dfcfd57 70645:fc27cecb66d8
   207 
   207 
   208 
   208 
   209       // run
   209       // run
   210 
   210 
   211       try {
   211       try {
   212         val dump_checkpoint = deps.dump_checkpoint.toSet
   212         val dump_checkpoints = deps.dump_checkpoints
   213         def commit(snapshot: Document.Snapshot, status: Document_Status.Node_Status)
   213         def commit(snapshot: Document.Snapshot, status: Document_Status.Node_Status)
   214         {
   214         {
   215           if (dump_checkpoint(snapshot.node_name)) {
   215           if (dump_checkpoints.contains(snapshot.node_name)) {
   216             session.protocol_command("ML_Heap.share_common_data")
   216             session.protocol_command("ML_Heap.share_common_data")
   217           }
   217           }
   218           Consumer.apply(snapshot, status)
   218           Consumer.apply(snapshot, status)
   219         }
   219         }
   220 
   220