Skip to content

Fix LCache invalidation issue for native properties during GC. #2530

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 17, 2018

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.

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