Commit 5d05c780 authored by Jingcheng Zhang's avatar Jingcheng Zhang Committed by Russ Cox

runtime: sizeclass in MSpan should be int32.

R=golang-dev, minux.ma, dave, rsc
CC=golang-dev
https://golang.org/cl/6643046
parent 0cfbb64c
......@@ -358,7 +358,7 @@ struct MSpan
uintptr npages; // number of pages in span
MLink *freelist; // list of free objects
uint32 ref; // number of allocated objects in this span
uint32 sizeclass; // size class
int32 sizeclass; // size class
uintptr elemsize; // computed from sizeclass or from npages
uint32 state; // MSpanInUse etc
int64 unusedsince; // First time spotted by GC in MSpanFree state
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment