From: Mark Probst Date: Mon, 6 Jun 2016 23:17:58 +0000 (-0700) Subject: [sgen] Fix gcpauseviz. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=34c779eed09aaa9ea768ccb7e9d65336a4511320;p=mono.git [sgen] Fix gcpauseviz. It didn't detect starts of concurrent collections anymore because of how the binary protocol outputs it. --- diff --git a/tools/sgen/gcpausevis.py b/tools/sgen/gcpausevis.py index 52f0ab26ee3..1a1b42005ec 100755 --- a/tools/sgen/gcpausevis.py +++ b/tools/sgen/gcpausevis.py @@ -129,7 +129,7 @@ class ConcurrentMajorGCEventGroup(MajorGCEventGroup): def parse_next_major_gc(data, i): assert i >= 0 # Find start or full event. - while i < len(data) and data[i].gc_type not in ['start', 'full']: + while i < len(data) and data[i].gc_type not in ['start', 'full', 'nursery+update']: i += 1 if i == len(data): return None