Skip to content

Commit

Permalink
Use MMTk VM space (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
qinsoon authored May 8, 2023
1 parent 95bc54a commit eb407eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mmtk-gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ void *jl_gc_perm_alloc(size_t sz, int zero, unsigned align, unsigned offset)

void jl_gc_notify_image_load(const char* img_data, size_t len)
{
// TODO: We should notify MMTk about the image (VM space)
mmtk_set_vm_space((void*)img_data, len);
}

void jl_gc_notify_image_alloc(char* img_data, size_t len)
Expand Down

0 comments on commit eb407eb

Please sign in to comment.