mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-06 20:56:36 +02:00
Initial file
This commit is contained in:
parent
558c7d8257
commit
ef25448c63
1 changed files with 11 additions and 0 deletions
11
HUGE-OBJ-NOTES
Normal file
11
HUGE-OBJ-NOTES
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue