]> Cypherpunks repositories - gostls13.git/commit
runtime: remove GoSched/GoStart trace events around GC
authorAustin Clements <austin@google.com>
Thu, 9 Apr 2015 14:17:06 +0000 (10:17 -0400)
committerAustin Clements <austin@google.com>
Fri, 10 Apr 2015 18:21:52 +0000 (18:21 +0000)
commit6afb5fa48fc3d33f7973fbdfeb96fdfaad51fb5f
tree03b41af38497c3386b732a757399a7e916b8af95
parenteec6fdc90b64a4a2c579ef35b2ce6eaab1f62733
runtime: remove GoSched/GoStart trace events around GC

These were appropriate for STW GC, since it interrupted the allocating
Goroutine, but don't apply to concurrent GC, which runs on its own
Goroutine. Forced GC is still STW, but it makes sense to attribute the
GC to the goroutine that called runtime.GC().

Change-Id: If12418ca66dc7e53b8b16025af4e03adb5d9577e
Reviewed-on: https://go-review.googlesource.com/8715
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/mgc.go