Home
last modified time | relevance | path

Searched refs:host_data_table (Results 1 – 3 of 3) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dgc.rs47 pub host_data_table: ExternRefHostDataTable, field
68 let host_data_table = ExternRefHostDataTable::default(); in new() localVariable
87 host_data_table, in new()
103 let collection = self.gc_heap.gc(roots, &mut self.host_data_table); in gc()
186 .write_gc_ref(&mut self.host_data_table, destination, source); in write_gc_ref()
195 self.gc_heap.drop_gc_ref(&mut self.host_data_table, gc_ref); in drop_gc_ref()
228 let host_data_id = self.host_data_table.alloc(value); in alloc_externref()
231 Err(n) => Ok(Err((self.host_data_table.dealloc(host_data_id), n))), in alloc_externref()
242 self.host_data_table.get(host_data_id) in externref_host_data()
255 self.host_data_table.get_mut(host_data_id) in externref_host_data_mut()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/enabled/
H A Ddrc.rs240 host_data_table: &mut ExternRefHostDataTable, in dec_ref_and_maybe_dealloc()
258 host_data_table.dealloc(host_data_id); in dec_ref_and_maybe_dealloc()
524 fn sweep(&mut self, host_data_table: &mut ExternRefHostDataTable) { in sweep()
607 self.dec_ref_and_maybe_dealloc(host_data_table, &gc_ref); in sweep()
836 host_data_table: &mut ExternRefHostDataTable, in write_gc_ref()
848 self.dec_ref_and_maybe_dealloc(host_data_table, dest); in write_gc_ref()
1022 host_data_table: &'a mut ExternRefHostDataTable, in gc()
1027 host_data_table, in gc()
1080 host_data_table: &'a mut ExternRefHostDataTable, field
1115 self.heap.sweep(self.host_data_table); in collect_increment()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/
H A Dgc_runtime.rs159 fn drop_gc_ref(&mut self, host_data_table: &mut ExternRefHostDataTable, gc_ref: VMGcRef) { in drop_gc_ref()
161 self.write_gc_ref(host_data_table, &mut dest, None); in drop_gc_ref()
178 host_data_table: &mut ExternRefHostDataTable, in write_gc_ref()
362 host_data_table: &'a mut ExternRefHostDataTable, in gc()