• Heschi Kreinick's avatar
    cmd/trace: Record mark assists in execution traces · 2a74b9e8
    Heschi Kreinick authored
    During the mark phase of garbage collection, goroutines that allocate
    may be recruited to assist. This change creates trace events for mark
    assists and displays them similarly to sweep assists in the trace
    viewer.
    
    Mark assists are different than sweeps in that they can be preempted, so
    displaying them in the trace viewer is a little tricky -- we may need to
    synthesize multiple slices for one mark assist. This could have been
    done in the parser instead, but I thought it might be preferable to keep
    the parser as true to the event stream as possible.
    
    Change-Id: I381dcb1027a187a354b1858537851fa68a620ea7
    Reviewed-on: https://go-review.googlesource.com/36015
    Run-TryBot: Heschi Kreinick <heschi@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarAustin Clements <austin@google.com>
    Reviewed-by: 's avatarHyang-Ah Hana Kim <hyangah@gmail.com>
    2a74b9e8
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...