summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2023-01-30 23:21:34 +0300
committerIvan Maidanski <ivmai@mail.ru>2023-01-30 23:21:34 +0300
commitba3051bed088c0cdc3ee221e911b87983ac5e475 (patch)
treec2f5a2d3c89510787ed17697b8b7b553c101bd96 /tests
parent462d1c8b57b7bde0bfac9e563af6326b84f9fdd1 (diff)
downloadbdwgc-ba3051bed088c0cdc3ee221e911b87983ac5e475.tar.gz
Redirect GC_malloc_explicitly_typed_ignore_off_page for small objects
(refactoring) * typd_mlc.c (GC_malloc_explicitly_typed): Do not write lb increased by TYPD_EXTRA_BYTES back to lb argument. * typd_mlc.c (GENERAL_MALLOC_IOP): Remove. * typd_mlc.c (GC_malloc_explicitly_typed_ignore_off_page): Replace lg local variable to nwords; store sum of lb and TYPD_EXTRA_BYTES to lb_adjusted (new local variable); if the object is small (after addition of TYPD_EXTRA_BYTES) then redirect to GC_malloc_explicitly_typed(); replace GENERAL_MALLOC_IOP() call to GC_clear_stack(GC_generic_malloc_ignore_off_page()) one.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions