aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/traceback.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/traceback.go')
-rw-r--r--src/runtime/traceback.go13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/runtime/traceback.go b/src/runtime/traceback.go
index b3baa3b4ed..00c0f08e55 100644
--- a/src/runtime/traceback.go
+++ b/src/runtime/traceback.go
@@ -1248,6 +1248,13 @@ func goroutineheader(gp *g) {
if isScan {
print(" (scan)")
}
+ if bubble := gp.bubble; bubble != nil &&
+ gp.waitreason.isIdleInSynctest() &&
+ !stringslite.HasSuffix(status, "(durable)") {
+ // If this isn't a status where the name includes a (durable)
+ // suffix to distinguish it from the non-durable form, add it here.
+ print(" (durable)")
+ }
if waitfor >= 1 {
print(", ", waitfor, " minutes")
}
@@ -1255,11 +1262,7 @@ func goroutineheader(gp *g) {
print(", locked to thread")
}
if bubble := gp.bubble; bubble != nil {
- print(", synctest bubble ", bubble.root.goid, ", ")
- if !gp.waitreason.isIdleInSynctest() {
- print("not ")
- }
- print("durably blocked")
+ print(", synctest bubble ", bubble.id)
}
print("]:\n")
}