aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2015-01-28 11:51:04 -0500
committerAustin Clements <austin@google.com>2015-02-02 19:33:55 +0000
commitf95becaddb539a45cc9bedbbbc9ee4a2433c1ab5 (patch)
tree096a47a153ccd2cc9590c4d089d0b0b9010bc9f5 /src/runtime
parent36f879780aa086356187a7ca8a625ff37484d317 (diff)
downloadgo-f95becaddb539a45cc9bedbbbc9ee4a2433c1ab5.tar.xz
runtime: update a few "onM"s in comments to say "systemstack"
Commit 656be31 replaced onM with systemstack, but missed updating a few comments that still referred to onM. Update these. Change-Id: I0efb017e9a66ea0adebb6e1da6e518ee11263f69 Reviewed-on: https://go-review.googlesource.com/3664 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/mgc.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/mgc.go b/src/runtime/mgc.go
index 2bbe097d0e..01f02f26bd 100644
--- a/src/runtime/mgc.go
+++ b/src/runtime/mgc.go
@@ -1390,7 +1390,7 @@ func gcinit() {
memstats.next_gc = heapminimum
}
-// Called from malloc.go using onM, stopping and starting the world handled in caller.
+// Called from malloc.go using systemstack, stopping and starting the world handled in caller.
//go:nowritebarrier
func gc_m(start_time int64, eagersweep bool) {
_g_ := getg()
@@ -1419,7 +1419,7 @@ func clearCheckmarks() {
}
}
-// Called from malloc.go using onM.
+// Called from malloc.go using systemstack.
// The world is stopped. Rerun the scan and mark phases
// using the bitMarkedCheck bit instead of the
// bitMarked bit. If the marking encounters an