diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/runtime/mgc.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runtime/mgc.go b/src/runtime/mgc.go index 4c165ddcdb..ef3436d1f4 100644 --- a/src/runtime/mgc.go +++ b/src/runtime/mgc.go @@ -2391,6 +2391,11 @@ func gcTestIsReachable(ptrs ...unsafe.Pointer) (mask uint64) { // Force a full GC and sweep. GC() + // TODO(austin): Work around issue #45315. One GC() can return + // without finishing the sweep. Do a second to force the sweep + // through. + GC() + // Process specials. for i, s := range specials { if !s.done { |
