Commit bedb6f8a authored by Austin Clements's avatar Austin Clements

runtime: remove unnecessary traceNextGC

Commit d7e0ad4b 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/8894Reviewed-by: default avatarDmitry Vyukov <dvyukov@google.com>
Reviewed-by: default avatarRick Hudson <rlh@golang.org>
parent 21e37daa
...@@ -293,7 +293,6 @@ func mSpan_Sweep(s *mspan, preserve bool) bool { ...@@ -293,7 +293,6 @@ func mSpan_Sweep(s *mspan, preserve bool) bool {
} }
if trace.enabled { if trace.enabled {
traceGCSweepDone() traceGCSweepDone()
traceNextGC()
} }
return res return res
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment