MCPcopy Index your code
hub / github.com/RustPython/RustPython / get_freeze_count

Method get_freeze_count

crates/vm/src/gc_state.rs:786–788  ·  view source on GitHub ↗

Get count of frozen objects

(&self)

Source from the content-addressed store, hash-verified

784
785 /// Get count of frozen objects
786 pub fn get_freeze_count(&self) -> usize {
787 self.permanent.count()
788 }
789
790 /// Freeze all tracked objects (move to permanent generation).
791 /// Lock order: generation_lists[i] → permanent_list (consistent with unfreeze).

Callers 2

test_freezeMethod · 0.80
get_freeze_countFunction · 0.80

Calls 1

countMethod · 0.45

Tested by 1

test_freezeMethod · 0.64