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 0cfbb64 commit 5d05c78Copy full SHA for 5d05c78
src/pkg/runtime/malloc.h
@@ -358,7 +358,7 @@ struct MSpan
358
uintptr npages; // number of pages in span
359
MLink *freelist; // list of free objects
360
uint32 ref; // number of allocated objects in this span
361
- uint32 sizeclass; // size class
+ int32 sizeclass; // size class
362
uintptr elemsize; // computed from sizeclass or from npages
363
uint32 state; // MSpanInUse etc
364
int64 unusedsince; // First time spotted by GC in MSpanFree state
0 commit comments