You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Looked into it briefly and I think I see the issue. The sweepLocker returned is invalid because there's nothing to sweep in this mode. The GC fully sweeps the heap before restarting the world with gcstoptheworld=2.
However, this isn't as simple as just ignoring the invalid sweepLocker, since there may still be stales spans in mcaches that gcSweep doesn't take care of. I think gcSweep needs to flush all the mcaches before the world restarts, and then the runtime should just skip all the mcache flushing sweep logic.