HPurge

E736583

HPurge is a memory management API function used to mark relocatable memory blocks as purgeable, allowing the system to reclaim their storage when needed.

All labels observed (1)

Label Occurrences
HPurge canonical 1

How this entity was disambiguated

Statements (31)

Predicate Object
instanceOf Classic Mac OS Toolbox routine ⓘ
Memory management API function ⓘ
category Low-level memory management ⓘ
definedIn Macintosh Memory Manager API ⓘ
documentation Described in Inside Macintosh: Memory ⓘ
effect Allows system to reclaim storage of a relocatable block ⓘ
Does not immediately dispose of the block ⓘ
Marks a relocatable block as purgeable ⓘ
May cause block contents to be discarded when memory is low ⓘ
errorHandling May set memory manager error codes in global variables ⓘ
implementedIn Macintosh ROM / System software ⓘ
linked to: Apple Macintosh ROM
memoryModel Handle-based relocatable heap ⓘ
operatesOn Handles ⓘ
Relocatable memory blocks ⓘ
platform Classic Mac OS System 7 era ⓘ
Motorola 68k Macintosh ⓘ
linked to: 68k Macintosh
precondition Handle must be valid ⓘ
Handle must refer to a relocatable block ⓘ
purpose Helps the system manage limited RAM by reclaiming purgeable blocks ⓘ
relatedTo DisposeHandle ⓘ
HLock ⓘ
HNoPurge ⓘ
HUnlock ⓘ
SetHandleSize ⓘ
scope Application heap ⓘ
sideEffect Does not move the block immediately ⓘ
May change purgeable status of the block ⓘ
usedBy Classic Mac OS applications written in C ⓘ
Classic Mac OS applications written in Pascal ⓘ
usedIn Classic Mac OS ⓘ
Macintosh Memory Manager ⓘ

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

Memory Manager → providesAPI → HPurge ⓘ