@@ -219,7 +219,7 @@ def other_scope(r):
219
219
if r ['gc' ] == 's' :
220
220
# there is no 'other' scope for scavenging collections.
221
221
return 0
222
- return r ['pause' ] - r ['mark' ] - r ['sweep' ] - r ['compact' ] - r [ ' external' ]
222
+ return r ['pause' ] - r ['mark' ] - r ['sweep' ] - r ['external' ]
223
223
224
224
def scavenge_scope (r ):
225
225
if r ['gc' ] == 's' :
@@ -238,7 +238,6 @@ def real_mutator(r):
238
238
Plot (Item ('Scavenge' , scavenge_scope , lc = 'green' ),
239
239
Item ('Marking' , 'mark' , lc = 'purple' ),
240
240
Item ('Sweep' , 'sweep' , lc = 'blue' ),
241
- Item ('Compaction' , 'compact' , lc = 'red' ),
242
241
Item ('External' , 'external' , lc = '#489D43' ),
243
242
Item ('Other' , other_scope , lc = 'grey' ),
244
243
Item ('IGC Steps' , 'stepstook' , lc = '#FF6347' ))
@@ -250,7 +249,6 @@ def real_mutator(r):
250
249
Plot (Item ('Scavenge' , scavenge_scope , lc = 'green' ),
251
250
Item ('Marking' , 'mark' , lc = 'purple' ),
252
251
Item ('Sweep' , 'sweep' , lc = 'blue' ),
253
- Item ('Compaction' , 'compact' , lc = 'red' ),
254
252
Item ('External' , 'external' , lc = '#489D43' ),
255
253
Item ('Other' , other_scope , lc = '#ADD8E6' ),
256
254
Item ('External' , 'external' , lc = '#D3D3D3' ))
@@ -309,7 +307,6 @@ def process_trace(filename):
309
307
trace = parse_gc_trace (filename )
310
308
311
309
marksweeps = filter (lambda r : r ['gc' ] == 'ms' , trace )
312
- markcompacts = filter (lambda r : r ['gc' ] == 'mc' , trace )
313
310
scavenges = filter (lambda r : r ['gc' ] == 's' , trace )
314
311
globalgcs = filter (lambda r : r ['gc' ] != 's' , trace )
315
312
@@ -368,18 +365,15 @@ def throughput(name, trace):
368
365
stats (out , 'Total in GC' , trace , 'pause' )
369
366
stats (out , 'Scavenge' , scavenges , 'pause' )
370
367
stats (out , 'MarkSweep' , marksweeps , 'pause' )
371
- stats (out , 'MarkCompact' , markcompacts , 'pause' )
372
368
stats (out , 'Mark' , filter (lambda r : r ['mark' ] != 0 , trace ), 'mark' )
373
369
stats (out , 'Sweep' , filter (lambda r : r ['sweep' ] != 0 , trace ), 'sweep' )
374
- stats (out , 'Compact' , filter (lambda r : r ['compact' ] != 0 , trace ), 'compact' )
375
370
stats (out ,
376
371
'External' ,
377
372
filter (lambda r : r ['external' ] != 0 , trace ),
378
373
'external' )
379
374
out .write ('</table>' )
380
375
throughput ('TOTAL' , trace )
381
376
throughput ('MS' , marksweeps )
382
- throughput ('MC' , markcompacts )
383
377
throughput ('OLDSPACE' , globalgcs )
384
378
out .write ('<br/>' )
385
379
for chart in charts :
0 commit comments