mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
sentry: futex S/R optimization.
No need to save thousands of zerovalue buckets. PiperOrigin-RevId: 201258598 Change-Id: I5d3ea7b6a5345117ab4f610332d5288ca550be33
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user