Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ set_gc_finalized
Method
set_gc_finalized
crates/vm/src/object/core.rs:1559–1561 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
1557
/// _PyGC_SET_FINALIZED in Py_GIL_DISABLED mode.
1558
#[inline]
1559
pub(crate) fn set_gc_finalized(&self) {
1560
self.set_gc_bit(GcBits::FINALIZED);
1561
}
1562
1563
/// Set a GC bit atomically.
1564
#[inline]
Callers
2
drop_slow_inner
Method · 0.80
try_call_finalizer
Method · 0.80
Calls
1
set_gc_bit
Method · 0.80
Tested by
no test coverage detected