Update to go1.24.0

This commit is contained in:
Vorapol Rinsatitnon
2025-02-14 12:42:07 +07:00
parent 25e497e367
commit bf266cebe6
3169 changed files with 236789 additions and 60275 deletions

View File

@@ -9,13 +9,15 @@
// spends all of its time in the race runtime, which isn't a safe
// point.
//go:build (amd64 || arm64 || ppc64le) && linux && !race
//go:build (amd64 || arm64 || loong64 || ppc64le) && linux && !race
package runtime_test
import (
"fmt"
"internal/abi"
"internal/asan"
"internal/msan"
"math"
"os"
"regexp"
@@ -32,6 +34,14 @@ func startDebugCallWorker(t *testing.T) (g *runtime.G, after func()) {
// a debugger.
skipUnderDebugger(t)
// asan/msan instrumentation interferes with tests since we might
// inject debugCallV2 while in the asan/msan runtime. This is a
// problem for doing things like running the GC or taking stack
// traces. Not sure why this is happening yet, but skip for now.
if msan.Enabled || asan.Enabled {
t.Skip("debugCallV2 is injected erroneously during asan/msan runtime calls; skipping")
}
// This can deadlock if there aren't enough threads or if a GC
// tries to interrupt an atomic loop (see issue #10958). Execute
// an extra GC to ensure even the sweep phase is done (out of