Skip to content

Commit eb407eb

Browse files
authored
Use MMTk VM space (#12)
1 parent 95bc54a commit eb407eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mmtk-gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ void *jl_gc_perm_alloc(size_t sz, int zero, unsigned align, unsigned offset)
511511

512512
void jl_gc_notify_image_load(const char* img_data, size_t len)
513513
{
514-
// TODO: We should notify MMTk about the image (VM space)
514+
mmtk_set_vm_space((void*)img_data, len);
515515
}
516516

517517
void jl_gc_notify_image_alloc(char* img_data, size_t len)

0 commit comments

Comments
 (0)