CM2Shared::Release
function · models · host
- Address
0x71d480· 91 bytes, up to0x71d4da- Meaning
- Decrements a shared model's count; at zero queues it for eviction, or destroys it when uncached
- Confidence
- verified, proof one
- Finding
- models/cache#release-and-eviction
Finding: Release and eviction in models: the cache
A shared model whose count drops to zero stays cached on the release list, stamped with the time. Setting a scene's clock evicts from the head of that list every model released 30000 ms or more ago, stopping at the first younger one. A reference taken before eviction takes the model off the list.
The derivation is in the doc.
Callers 2
- CreateModelFromPath models
- CM2Model::~CM2Model models
Callees 3
- OsGetAsyncTimeMs core
- SMemFree storm
- CM2Shared::~CM2Shared models
Calls and jumps by a bare address, from tables/calls.tsv.