Skip to content

Conversation

@zherczeg
Copy link
Member

Unit test: I think it is too difficult (or too fragile) to create a unit test for this. Basically the requirement is creating an object, free it by gc, and create an object into the exactly same place again. I don't think the allocator can be exploited in this way.

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
Copy link
Contributor

@LaszloLango LaszloLango left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@robertsipka robertsipka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zherczeg zherczeg merged commit 3031a11 into jerryscript-project:master Sep 17, 2018
@zherczeg zherczeg deleted the native_free_fix branch September 17, 2018 15:31
@zherczeg zherczeg restored the native_free_fix branch September 18, 2018 12:15
@zherczeg zherczeg deleted the native_free_fix branch September 18, 2018 12:15
legendecas added a commit to yodaos-project/ShadowNode that referenced this pull request Nov 29, 2018
legendecas added a commit to yodaos-project/ShadowNode that referenced this pull request Nov 29, 2018
legendecas added a commit to yodaos-project/ShadowNode that referenced this pull request Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants