diff --git a/src/internal/buildcfg/exp.go b/src/internal/buildcfg/exp.go index 82866cef66..c8506d41bb 100644 --- a/src/internal/buildcfg/exp.go +++ b/src/internal/buildcfg/exp.go @@ -84,7 +84,6 @@ func ParseGOEXPERIMENT(goos, goarch, goexp string) (*ExperimentFlags, error) { Dwarf5: dwarf5Supported, RandomizedHeapBase64: true, GreenTeaGC: true, - GoroutineLeakProfile: true, } flags := &ExperimentFlags{ Flags: baseline, diff --git a/src/internal/goexperiment/flags.go b/src/internal/goexperiment/flags.go index 683316b213..17fe15270a 100644 --- a/src/internal/goexperiment/flags.go +++ b/src/internal/goexperiment/flags.go @@ -122,9 +122,6 @@ type Flags struct { // SizeSpecializedMalloc enables malloc implementations that are specialized per size class. SizeSpecializedMalloc bool - // GoroutineLeakProfile enables the collection of goroutine leak profiles. - GoroutineLeakProfile bool - // SIMD enables the simd package and the compiler's handling // of SIMD intrinsics. SIMD bool