sentry: futex S/R optimization.

No need to save thousands of zerovalue buckets.

PiperOrigin-RevId: 201258598
Change-Id: I5d3ea7b6a5345117ab4f610332d5288ca550be33
This commit is contained in:
Zhaozhong Ni
2018-06-19 16:08:00 -07:00
committed by Shentubot
parent a6dbef045f
commit aa14a2c1be
+1 -1
View File
@@ -197,7 +197,7 @@ func bucketIndexForAddr(addr uintptr) uintptr {
// Manager holds futex state for a single virtual address space.
type Manager struct {
buckets [bucketCount]bucket
buckets [bucketCount]bucket `state:"zerovalue"`
}
// NewManager returns an initialized futex manager.