Skip to content

Commit

Permalink
add comment and Changes entry
Browse files Browse the repository at this point in the history
  • Loading branch information
damiendoligez committed Feb 12, 2021
1 parent 5da8a50 commit acee01c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ Working version
- #10136: Minor clean-ups in runtime/io.c and runtime/caml/io.h
(Xavier Leroy, review by David Allsopp and Guillaume Munch-Maccagnoni)

- #10188: Switch the default allocation policy to best-fit and adjust the
default overhead parameter accordingly.
- #10188, #10213: Switch the default allocation policy to best-fit and adjust
the default overhead parameter accordingly.
(Damien Doligez, review by Josh Berdine and Xavier Leroy)

### Code generation and optimizations:
Expand Down
3 changes: 3 additions & 0 deletions runtime/freelist.c
Original file line number Diff line number Diff line change
Expand Up @@ -1755,6 +1755,9 @@ enum {
policy_best_fit = 2,
};

/* If you change [caml_allocation_policy] don't forget to change all the
function pointers below.
*/
uintnat caml_allocation_policy = policy_best_fit;

/********************* exported functions *****************************/
Expand Down

0 comments on commit acee01c

Please sign in to comment.