From: Austin Clements Date: Mon, 13 Apr 2015 22:38:16 +0000 (-0400) Subject: runtime: remove unnecessary traceNextGC X-Git-Tag: go1.5beta1~1119 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=bedb6f8aef1f0374e3d4556b3b08dd9e52c16298;p=gostls13.git runtime: remove unnecessary traceNextGC Commit d7e0ad4 removed the next_gc manipulation from mSpan_Sweep, but left in the traceNextGC() for recording the updated next_gc value. Remove this now unnecessary call. Change-Id: I28e0de071661199be9810d7bdcc81ce50b5a58ae Reviewed-on: https://go-review.googlesource.com/8894 Reviewed-by: Dmitry Vyukov Reviewed-by: Rick Hudson --- diff --git a/src/runtime/mgcsweep.go b/src/runtime/mgcsweep.go index a651e03105..1785d74eba 100644 --- a/src/runtime/mgcsweep.go +++ b/src/runtime/mgcsweep.go @@ -293,7 +293,6 @@ func mSpan_Sweep(s *mspan, preserve bool) bool { } if trace.enabled { traceGCSweepDone() - traceNextGC() } return res }