Commit e52c3c0f authored by John van Groningen's avatar John van Groningen
Browse files

for 64 bit intel/amd remove (compact) mark with prefetch code

parent 985a3742
......@@ -18,9 +18,6 @@ no_gc_hook_before_compact:
mov rax,qword ptr caf_list+0
test qword ptr flags+0,4096
jne pmarkr
test rax,rax
je end_mark_cafs
......@@ -51,41 +48,8 @@ end_mark_cafs:
jmp compact_heap
pmarkr:
test rax,rax
je end_rmarkp_cafs
rmarkp_cafs_lp:
push (-8)[rax]
lea rsi,8[rax]
mov rax,qword ptr [rax]
lea rcx,[rsi+rax*8]
mov qword ptr end_vector+0,rcx
call rmarkp_stack_nodes
pop rax
test rax,rax
jne rmarkp_cafs_lp
end_rmarkp_cafs:
mov rsi,qword ptr stack_p+0
mov rcx,qword ptr stack_top+0
mov qword ptr end_vector+0,rcx
call rmarkp_stack_nodes
call add_mark_compact_garbage_collect_time
jmp compact_heap
include acompact_rmark.asm
include acompact_rmark_prefetch.asm
include acompact_rmarkr.asm
; compact the heap
......@@ -212,11 +176,6 @@ finalizer_list_empty:
mov qword ptr end_vector+0,offset free_finalizer_list+8
endif
test qword ptr flags+0,4096
je no_pmarkr
call rmarkp_stack_nodes
jmp free_finalizer_list_empty
no_pmarkr:
call rmark_stack_nodes
free_finalizer_list_empty:
......
......@@ -1236,11 +1236,7 @@ rmarkr_next_stack_node:
cmp rcx,1
ja rmark_using_reversal
test qword ptr flags+0,4096
je rmark_next_node_
jmp rmarkp_next_node_
jmp rmark_next_node_
rmarkr_end:
test qword ptr flags+0,4096
je rmark_next_node
jmp rmarkp_next_node
jmp rmark_next_node
......@@ -3253,13 +3253,9 @@ no_zero_bits:
jmp compact_gc
no_smaller_heap:
test qword ptr flags+0,4096
jne pmark
include amark.asm
include amark_prefetch.asm
compact_gc:
mov qword ptr zero_bits_before_mark+0,1
mov qword ptr n_last_heap_free_bytes+0,0
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment