is_permanent() checks that an address is in the committed perm heap.
is_in_permanent() checks that an address is the reserved perm heap.
The methods should be renamed to convey the (difference in)
semantics, perhaps something like is_in_{reserved,committed}_permanent().
The current names do not serve that purpose and are apt to be
confusing and used incorrectly on that account.
is_in_permanent() checks that an address is the reserved perm heap.
The methods should be renamed to convey the (difference in)
semantics, perhaps something like is_in_{reserved,committed}_permanent().
The current names do not serve that purpose and are apt to be
confusing and used incorrectly on that account.