From bedb6f8aef1f0374e3d4556b3b08dd9e52c16298 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Mon, 13 Apr 2015 18:38:16 -0400 Subject: [PATCH] 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 --- src/runtime/mgcsweep.go | 1 - 1 file changed, 1 deletion(-) 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 } -- 2.48.1