MCPcopy Create free account
hub / github.com/apple/foundationdb / delref

Method delref

flow/Arena.cpp:170–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170void ArenaBlock::delref() {
171 makeDefined(this, sizeof(ThreadSafeReferenceCounted<ArenaBlock>));
172 if (delref_no_destroy()) {
173 destroy();
174 } else {
175 makeNoAccess(this, sizeof(ThreadSafeReferenceCounted<ArenaBlock>));
176 }
177}
178
179bool ArenaBlock::isTiny() const {
180 return tinySize != NOT_TINY;

Callers 7

removeMethod · 0.45
sentMethod · 0.45
discardAllMethod · 0.45
compactMethod · 0.45
fdb_database_destroyFunction · 0.45
fdb_tenant_destroyFunction · 0.45
fdb_transaction_destroyFunction · 0.45

Calls 3

makeDefinedFunction · 0.85
makeNoAccessFunction · 0.85
destroyFunction · 0.50

Tested by

no test coverage detected