From ef25448c636a13cba9a42084d0492e878bbdfee7 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Wed, 6 Jul 2016 19:11:19 -0400 Subject: [PATCH] Initial file --- HUGE-OBJ-NOTES | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 HUGE-OBJ-NOTES diff --git a/HUGE-OBJ-NOTES b/HUGE-OBJ-NOTES new file mode 100644 index 00000000..02d9cef1 --- /dev/null +++ b/HUGE-OBJ-NOTES @@ -0,0 +1,11 @@ +Notes for work to do on this branch: + +- add constant for max size obj on stack (maybe limit * 2?) +- make vector - alloc on heap if size of elements > max size limit + (need to make this function as potentially blocking? probably, but maybe leave a TODO for now) +- add heap type ID to heap struct +- add a huge obj heap + - this heap will only allocate objects of size >= max stack obj size + - make sure to allocate obj size + alignment + - each page is just one obj, will free page when obj is freed (as part of sweep) +- initially, work will allow the gcbench from larceny to work