MCPcopy Create free account
hub / github.com/boostorg/build / GC_remove_header

Function GC_remove_header

v2/engine/boehm_gc/headers.c:280–287  ·  view source on GitHub ↗

Remove the header for block h */

Source from the content-addressed store, hash-verified

278
279/* Remove the header for block h */
280void GC_remove_header(struct hblk *h)
281{
282 hdr ** ha;
283
284 GET_HDR_ADDR(h, ha);
285 free_hdr(*ha);
286 *ha = 0;
287}
288
289/* Remove forwarding counts for h */
290void GC_remove_counts(struct hblk *h, size_t sz/* bytes */)

Callers 2

GC_merge_unmappedFunction · 0.85
GC_freehblkFunction · 0.85

Calls 1

free_hdrFunction · 0.85

Tested by

no test coverage detected