We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86b5ba7 commit 980ef25Copy full SHA for 980ef25
src/runtime/arena.go
@@ -745,7 +745,9 @@ func newUserArenaChunk() (unsafe.Pointer, *mspan) {
745
// does represent additional work for the GC, but we also have no idea
746
// what that looks like until we actually allocate things into the
747
// arena).
748
- deductAssistCredit(userArenaChunkBytes)
+ if gcBlackenEnabled != 0 {
749
+ deductAssistCredit(userArenaChunkBytes)
750
+ }
751
752
// Set mp.mallocing to keep from being preempted by GC.
753
mp := acquirem()
0 commit comments