Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fd_operator_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down