You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We should add
realloc(&mut self,object: *mut RawGc,old_size: usize,new_size: usize) -> *mut RawGc
toHeapImpl
trait. By default it will just allocate new pointer and memcpyobject.data()
to new objectdata
pointer. There is some problems with it as we do not know should we copy entire object state to reallocated pointer or no.The text was updated successfully, but these errors were encountered: