Home
last modified time | relevance | path

Searched refs:ModuleAffinityIndexAllocator (Results 1 – 2 of 2) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/allocator/pooling/
H A Dindex_allocator.rs27 pub struct SimpleIndexAllocator(ModuleAffinityIndexAllocator);
31 SimpleIndexAllocator(ModuleAffinityIndexAllocator::new(capacity, 0)) in new()
82 pub struct ModuleAffinityIndexAllocator(Mutex<Inner>); struct
187 impl ModuleAffinityIndexAllocator { impl
190 ModuleAffinityIndexAllocator(Mutex::new(Inner { in new()
543 let state = ModuleAffinityIndexAllocator::new(size, 0); in test_next_available_allocation_strategy()
557 let state = ModuleAffinityIndexAllocator::new(100, 100); in test_affinity_allocation_strategy()
615 let state = ModuleAffinityIndexAllocator::new(100, max_unused_warm_slots); in clear_affine()
648 let state = ModuleAffinityIndexAllocator::new(1000, 1000); in test_affinity_allocation_strategy_random()
690 let state = ModuleAffinityIndexAllocator::new(10, 2); in test_affinity_threshold()
H A Dmemory_pool.rs55 index_allocator::{MemoryInModule, ModuleAffinityIndexAllocator, SlotId},
83 allocator: ModuleAffinityIndexAllocator,
261 let allocator = ModuleAffinityIndexAllocator::new( in new()