-
Notifications
You must be signed in to change notification settings - Fork 406
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Redirect GC_gcj_malloc_ignore_off_page to GC_gcj_malloc for small obj…
…ects (refactoring) * gcj_mlc.c (GENERAL_MALLOC_INNER_IOP): Remove. * gcj_mlc.c (GC_core_gcj_malloc): Do not cast lb to word when passed to GENERAL_MALLOC_INNER_IOP(). * gcj_mlc.c (GC_gcj_malloc_ignore_off_page): Remove function title comment; add comment about small objects; redirect to GC_gcj_malloc() if SMALL_OBJ(lb); replace GENERAL_MALLOC_INNER_IOP() call to GC_clear_stack(GC_generic_malloc_inner_ignore_off_page()) one.
- Loading branch information
Showing
1 changed file
with
15 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters