aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/traceback.go
diff options
context:
space:
mode:
authorDamien Neil <dneil@google.com>2025-05-01 13:24:50 -0400
committerGopher Robot <gobot@golang.org>2025-05-07 13:14:34 -0700
commitef7724c4324f6bac40463a12e4fea43ff0b4a8e8 (patch)
tree5a89783ddf1393124bee793515135012352f1e81 /src/runtime/traceback.go
parentd6c8bedc7b3d2de7714dca75bd05912b371538f1 (diff)
downloadgo-ef7724c4324f6bac40463a12e4fea43ff0b4a8e8.tar.xz
runtime: use "bubble" terminology for synctest
We've settled on calling the group of goroutines started by synctest.Run a "bubble". At the time the runtime implementation was written, I was still calling this a "group". Update the code to match the current terminology. Change-Id: I31b757f31d804b5d5f9564c182627030a9532f4a Reviewed-on: https://go-review.googlesource.com/c/go/+/670135 Reviewed-by: Michael Pratt <mpratt@google.com> Auto-Submit: Damien Neil <dneil@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/runtime/traceback.go')
-rw-r--r--src/runtime/traceback.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/traceback.go b/src/runtime/traceback.go
index 1390e8b1bd..d6aa022674 100644
--- a/src/runtime/traceback.go
+++ b/src/runtime/traceback.go
@@ -1254,8 +1254,8 @@ func goroutineheader(gp *g) {
if gp.lockedm != 0 {
print(", locked to thread")
}
- if sg := gp.syncGroup; sg != nil {
- print(", synctest group ", sg.root.goid)
+ if bubble := gp.bubble; bubble != nil {
+ print(", synctest bubble ", bubble.root.goid)
}
print("]:\n")
}