mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-25 19:21:11 +08:00
fix: $262.gc() 补 mark 收口为顶层边界强制完整收集
This commit is contained in:
@@ -134,6 +134,7 @@ impl Vm {
|
||||
gc_threshold_cached: gc_threshold,
|
||||
gc_watermark: gc_threshold,
|
||||
gc_gate_retry_alloc: 0,
|
||||
pending_forced_collect: false,
|
||||
forwarding: std::collections::HashMap::with_hasher(rustc_hash::FxBuildHasher),
|
||||
},
|
||||
symbols: SymbolState {
|
||||
@@ -267,6 +268,7 @@ impl Vm {
|
||||
gc_threshold_cached: gc_threshold,
|
||||
gc_watermark: gc_threshold,
|
||||
gc_gate_retry_alloc: 0,
|
||||
pending_forced_collect: false,
|
||||
forwarding: std::collections::HashMap::with_hasher(rustc_hash::FxBuildHasher),
|
||||
},
|
||||
symbols: SymbolState {
|
||||
|
||||
Reference in New Issue
Block a user