(parent, child Activation)
| 335 | } |
| 336 | |
| 337 | func (pool *activationStackPool) create(parent, child Activation) Activation { |
| 338 | h := pool.Get().(*hierarchicalActivation) |
| 339 | h.child = child |
| 340 | h.parent = parent |
| 341 | h.poolAllocated = true |
| 342 | return h |
| 343 | } |
| 344 | |
| 345 | func (pool *activationStackPool) release(activation Activation) { |
| 346 | h, ok := activation.(*hierarchicalActivation) |