Skip to content
This repository was archived by the owner on Jul 8, 2021. It is now read-only.

Add support for realloc in GC #19

@playXE

Description

@playXE

We should add realloc(&mut self,object: *mut RawGc,old_size: usize,new_size: usize) -> *mut RawGc to HeapImpl trait. By default it will just allocate new pointer and memcpy object.data() to new object data pointer. There is some problems with it as we do not know should we copy entire object state to reallocated pointer or no.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions