Skip to content
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

Support internal properties in GC mark. #1646

Merged
merged 1 commit into from
Mar 7, 2017

Conversation

zherczeg
Copy link
Member

@zherczeg zherczeg commented Mar 7, 2017

No description provided.

@LaszloLango
Copy link
Contributor

Is it a bugfix? Could you provide a bit more description?

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.

The code looks good to me.

Some internal properties are incorrectly handled as objects and
marked as visited. This memory overwrite caused random crashes
in IoT.js.

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
@zherczeg
Copy link
Member Author

zherczeg commented Mar 7, 2017

Done

Copy link
Member

@dbatyai dbatyai left a comment

Choose a reason for hiding this comment

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

LGTM

@LaszloLango LaszloLango added bug Undesired behaviour memory management Related to memory management or garbage collection labels Mar 7, 2017
@LaszloLango
Copy link
Contributor

@zherczeg, thanks. LGTM

@zherczeg zherczeg merged commit 319702c into jerryscript-project:master Mar 7, 2017
@zherczeg zherczeg deleted the gc_fix branch March 7, 2017 13:14
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants