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
If an object is constant (Every version of the object is always exactly the same everytime its instantiated)
it will fail to allocate correctly in gc. This is due to an optimisation within the compiler which still simply copy the correct bytes into memory.
Because the _size variable within gc::object is being allocated prior to its actual initialisation, the compiler does not realise that this is not an accurate action to perform.
If at all possible, any changes to an object should be done after the object is initialised.
This needs to have an associated test
The text was updated successfully, but these errors were encountered:
If an object is constant (Every version of the object is always exactly the same everytime its instantiated)
it will fail to allocate correctly in gc. This is due to an optimisation within the compiler which still simply copy the correct bytes into memory.
Because the
_size
variable withingc::object
is being allocated prior to its actual initialisation, the compiler does not realise that this is not an accurate action to perform.If at all possible, any changes to an object should be done after the object is initialised.
This needs to have an associated test
The text was updated successfully, but these errors were encountered: