MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / mark

Method mark

src/simulate/heap.cpp:55–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 PersistentHeapAllocator::PersistentHeapAllocator() {}
54
55 bool PersistentHeapAllocator::mark() {
56 model.shoe.beforeGC();
57 return true;
58 }
59
60 bool PersistentHeapAllocator::mark ( char * ptr, uint64_t len ) {
61 auto size = (len + 15) & ~15; // model.alignMask

Callers 3

markAndPushRangeMethod · 0.45
StringMethod · 0.45
collectHeapMethod · 0.45

Calls 3

beforeGCMethod · 0.45
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected