diff --git a/fd_operator_cache.go b/fd_operator_cache.go index 0e37ddeb..e98f9966 100644 --- a/fd_operator_cache.go +++ b/fd_operator_cache.go @@ -28,13 +28,13 @@ func newOperatorCache() *operatorCache { } type operatorCache struct { - locked int32 first *FDOperator cache []*FDOperator + locked int32 // freelist store the freeable operator // to reduce GC pressure, we only store op index here - freelist []int32 freelocked int32 + freelist []int32 } func (c *operatorCache) alloc() *FDOperator {