aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mfinal.go
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2018-03-13 15:20:33 +0000
committerJosh Bleecher Snyder <josharian@gmail.com>2018-03-13 15:21:21 +0000
commit6cb064c9c44fcd07bced22d2952a4856e5febc3e (patch)
tree148501cfb3cbbf65fda30600ce80632365bfd452 /src/runtime/mfinal.go
parent911839c1f462260db0f001f8e017f10f688d2270 (diff)
downloadgo-6cb064c9c44fcd07bced22d2952a4856e5febc3e.tar.gz
go-6cb064c9c44fcd07bced22d2952a4856e5febc3e.zip
Revert "runtime: convert g.waitreason from string to uint8"
This reverts commit 4eea887fd477368653f6fcf8ad766030167936e5. Reason for revert: broke s390x build Change-Id: Id6c2b6a7319273c4d21f613d4cdd38b00d49f847 Reviewed-on: https://go-review.googlesource.com/100375 Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Diffstat (limited to 'src/runtime/mfinal.go')
-rw-r--r--src/runtime/mfinal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/mfinal.go b/src/runtime/mfinal.go
index 6ce0312712..4ded18a345 100644
--- a/src/runtime/mfinal.go
+++ b/src/runtime/mfinal.go
@@ -172,7 +172,7 @@ func runfinq() {
gp := getg()
fing = gp
fingwait = true
- goparkunlock(&finlock, waitReasonFinalizerWait, traceEvGoBlock, 1)
+ goparkunlock(&finlock, "finalizer wait", traceEvGoBlock, 1)
continue
}
unlock(&finlock)