Commit graph

32 commits

Author SHA1 Message Date
ProgramSnail
e456304eb3 runtime fixes, byterun fixes 2024-11-14 00:50:54 +03:00
Roman Venediktov
85b838ea2b Made compiler working on Linux too 2024-07-11 15:19:22 +02:00
Egor Sheremetov
87d018877b Attempt to determine section boundaries at a compile-time 2024-07-11 15:19:22 +02:00
Egor Sheremetov
05983251c1 Removed debug symbols and fixed .section directive to be appropriate for mach-o 2024-07-11 15:19:22 +02:00
Egor Sheremetov
7cf72986e8 Naive fix for mremap, without virtual space reservation 2024-07-11 15:19:22 +02:00
Egor Sheremetov
05e4c15fe2 Added conditional debug output for GC related operations 2024-07-11 15:19:22 +02:00
Egor Sheremetov
73edd5603d Debug prints added 2024-07-11 15:19:22 +02:00
Roman Venediktov
a4ac6f9e6a Comment out mremap 2024-07-11 15:19:22 +02:00
Roman Venediktov
db296f5259 Final commit 2024-07-11 15:19:22 +02:00
Egor Sheremetov
6359a1731c Added X64_64 support for the x86-64 platform 2024-07-11 15:19:22 +02:00
Egor Sheremetov
b5a0b81d11 Got rid of ASM for runtime pre_gc, post_gc and stack scan 2023-09-29 19:40:01 +02:00
Egor Sheremetov
8b073cbd48 Fixed unit tests + fixed different compilation flags' combinations so that code compiles and works properly + added unit tests execution into a github actions workflow 2023-09-27 03:45:58 +02:00
Danya Berezun
17a7aa0116 fix warnings 2023-09-04 21:44:26 +02:00
Egor Sheremetov
3937ecf387 Removed extra word in sexp 2023-08-09 20:16:51 +02:00
Egor Sheremetov
dd7cbc7869 fixed illegal use of cur_id with FULL_INVARIANT_CHECKS flag 2023-07-28 17:15:48 +02:00
Egor Sheremetov
99ce39ca28 Debug output is now hidden when DEBUG_VERSION compilation option is off, added LAMA_ENV compilation option to control whether global area scan is needed 2023-07-28 16:37:39 +02:00
danyaberezun
ce0b369958 fix: do not fix extra root if it points to lama stack; uncomment extra roots registration; rise error if binary operation is done over pointers 2023-07-03 17:58:55 +02:00
Danya Berezun
8bc173762d fix 2023-06-29 20:05:54 +02:00
Egor Sheremetov
144db5d677 Added extra debug output in debug mode and added one more check of invariants 2023-06-29 15:01:24 +02:00
Egor Sheremetov
1a2342c411 fixed issues with heap traversal output 2023-06-25 22:51:40 +02:00
Egor Sheremetov
31551e73fd Added check of invariance of objects' topology before and after compaction 2023-06-20 16:22:35 +02:00
Egor Sheremetov
11d496405b Merge remote-tracking branch 'origin/1.10' into 1.10 after CI fix 2023-06-01 16:08:33 +02:00
Egor Sheremetov
fc81547ca3 changed MINIMUM_HEAP_CAPACITY 2023-06-01 16:06:23 +02:00
danyaberezun
2a42e1e176 add tag print in error in get_type_header_ptr 2023-05-31 11:33:04 +02:00
danyaberezun
ccd04c2159 add clang-format; reformat files 2023-05-31 11:01:11 +02:00
Egor Sheremetov
f20d351dd0 removed old (recursive) version of mark phase from the code 2023-05-31 01:08:03 +02:00
Egor Sheremetov
9107a26668 implemented non-recursive mark phase, added time measurement for stress tests 2023-05-31 01:06:53 +02:00
Egor Sheremetov
5da89d0c2e removed some unnecessary debug output, also modified tests to recently changed gc_runtime.s 2023-05-30 22:58:02 +02:00
Egor Sheremetov
4eea9a7933 Fixed bug in physically_relocate + bug fix in runtime.c list iteration 2023-05-23 13:40:46 +02:00
Egor Sheremetov
313997496d Added tests + fixed bunch of bugs in GC implementation 2023-04-26 14:22:14 +02:00
Egor Sheremetov
3826c8dd32 Added MREMAP_MAYMOVE flag to mremap to ensure similar to realloc behavior 2023-03-27 10:30:06 +02:00
Egor Sheremetov
113c57e7c8 First version of mark-compact GC, runtime.c is severely outdated at the moment 2023-03-27 10:09:54 +02:00