summaryrefslogtreecommitdiff
path: root/acompact.asm
diff options
context:
space:
mode:
authorJohn van Groningen2006-09-05 14:50:23 +0000
committerJohn van Groningen2006-09-05 14:50:23 +0000
commitbf3b063304643135af78b31a6e3eaaa88be55c82 (patch)
treea7364ff6983f023e4961af740cc0f14fceb28ae4 /acompact.asm
parentadd call to write_heap (diff)
mark using pointer reversal ifthe stack becomes too large
in the mark phase of the compacting collector
Diffstat (limited to 'acompact.asm')
-rw-r--r--acompact.asm5
1 files changed, 5 insertions, 0 deletions
diff --git a/acompact.asm b/acompact.asm
index 5db500e..7659fed 100644
--- a/acompact.asm
+++ b/acompact.asm
@@ -5,6 +5,9 @@
shl rax,6
mov qword ptr heap_size_64_65,rax
+ lea rax,(-16000)[rsp]
+ mov qword ptr end_stack,rax
+
mov rax,qword ptr caf_list
test qword ptr flags,4096
@@ -75,6 +78,8 @@ end_rmarkp_cafs:
include acompact_rmark_prefetch.asm
+ include acompact_rmarkr.asm
+
; compact the heap
compact_heap: