use malloc for allocating managed objects

This commit is contained in:
Yuichi Nishiwaki
2017-05-13 23:23:57 +09:00
parent e8f4bd250a
commit f69bc42187
5 changed files with 150 additions and 394 deletions
+2 -6
View File
@@ -72,12 +72,8 @@
# define PIC_ARENA_SIZE (8 * 1024)
#endif
#ifndef PIC_HEAP_PAGE_SIZE
# define PIC_HEAP_PAGE_SIZE (4 * 1024 * 1024)
#endif
#ifndef PIC_PAGE_REQUEST_THRESHOLD
# define PIC_PAGE_REQUEST_THRESHOLD(total) ((total) * 77 / 100)
#ifndef PIC_GC_PERIOD
# define PIC_GC_PERIOD (8 * 1024 * 1024)
#endif
/* check compatibility */