Skip to content

Conversation

ruben-ayrapetyan
Copy link
Contributor

No description provided.

@ruben-ayrapetyan ruben-ayrapetyan added bug Undesired behaviour normal memory management Related to memory management or garbage collection labels Jun 19, 2015
@ruben-ayrapetyan ruben-ayrapetyan added this to the Core ECMA features milestone Jun 19, 2015
@ruben-ayrapetyan
Copy link
Contributor Author

@galpeter, could you, please, review the change?

@galpeter
Copy link
Contributor

Well. I don't really know the valgrind's macros so I'll just assume that it is correct :)

@ruben-ayrapetyan
Copy link
Contributor Author

@galpeter,
the VALGRIND_DEFINED_STRUCT just says to valgrind "from the moment the structure can be accessed and data is initialized", and VALGRIND_NOACCESS_STRUCT says "from the moment the structure can not be accessed".

Marking access with the macro, we provide access to heap-internal structures only to mem_heap component.

@galpeter
Copy link
Contributor

@ruben-ayrapetyan I see, thanks for the information. With this extra info it really does make sense.

@ruben-ayrapetyan
Copy link
Contributor Author

@galpeter, ok. thank you for review.

@egavrin
Copy link
Contributor

egavrin commented Jun 19, 2015

make push

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Undesired behaviour memory management Related to memory management or garbage collection normal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants