Whitespace cleanups.
This commit is contained in:
parent
ff6a31d3b9
commit
c21b05ea09
@ -15,7 +15,7 @@
|
|||||||
* See Knuth's TAOCP 3rd Ed., Vol. 2, pg. 17 for details on these constraints.
|
* See Knuth's TAOCP 3rd Ed., Vol. 2, pg. 17 for details on these constraints.
|
||||||
*
|
*
|
||||||
* This choice of m has the disadvantage that the quality of the bits is
|
* This choice of m has the disadvantage that the quality of the bits is
|
||||||
* proportional to bit position. For example. the lowest bit has a cycle of 2,
|
* proportional to bit position. For example, the lowest bit has a cycle of 2,
|
||||||
* the next has a cycle of 4, etc. For this reason, we prefer to use the upper
|
* the next has a cycle of 4, etc. For this reason, we prefer to use the upper
|
||||||
* bits.
|
* bits.
|
||||||
*
|
*
|
||||||
|
14
src/zone.c
14
src/zone.c
@ -258,13 +258,13 @@ register_zone(void)
|
|||||||
/*
|
/*
|
||||||
* On OSX 10.6, having the default purgeable zone appear before
|
* On OSX 10.6, having the default purgeable zone appear before
|
||||||
* the default zone makes some things crash because it thinks it
|
* the default zone makes some things crash because it thinks it
|
||||||
* owns the default zone allocated pointers. We thus unregister/
|
* owns the default zone allocated pointers. We thus
|
||||||
* re-register it in order to ensure it's always after the
|
* unregister/re-register it in order to ensure it's always
|
||||||
* default zone. On OSX < 10.6, there is no purgeable zone, so
|
* after the default zone. On OSX < 10.6, there is no purgeable
|
||||||
* this does nothing. On OSX >= 10.6, unregistering replaces the
|
* zone, so this does nothing. On OSX >= 10.6, unregistering
|
||||||
* purgeable zone with the last registered zone above, i.e the
|
* replaces the purgeable zone with the last registered zone
|
||||||
* default zone. Registering it again then puts it at the end,
|
* above, i.e the default zone. Registering it again then puts
|
||||||
* obviously after the default zone.
|
* it at the end, obviously after the default zone.
|
||||||
*/
|
*/
|
||||||
if (purgeable_zone) {
|
if (purgeable_zone) {
|
||||||
malloc_zone_unregister(purgeable_zone);
|
malloc_zone_unregister(purgeable_zone);
|
||||||
|
Loading…
Reference in New Issue
Block a user