(parent, child Activation)
| 217 | } |
| 218 | |
| 219 | func (pool *activationStackPool) create(parent, child Activation) Activation { |
| 220 | h := pool.Get().(*hierarchicalActivation) |
| 221 | h.child = child |
| 222 | h.parent = parent |
| 223 | h.poolAllocated = true |
| 224 | return h |
| 225 | } |
| 226 | |
| 227 | func (pool *activationStackPool) release(activation Activation) { |
| 228 | h, ok := activation.(*hierarchicalActivation) |
no test coverage detected