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

Consider GC-ing during style recalc #9003

Open
pcwalton opened this issue Dec 16, 2015 · 1 comment
Open

Consider GC-ing during style recalc #9003

pcwalton opened this issue Dec 16, 2015 · 1 comment

Comments

@pcwalton
Copy link
Contributor

@pcwalton pcwalton commented Dec 16, 2015

The idea here is that we can tenure all objects in the nursery to make sure they don't move during style recalc and then perform a non-compacting GC:

cx->runtime()->gc.evictNursery(); // minor GC
rt->gc.gc(GC_NORMAL, reason); // non-compacting GC (don't use GC_SHRINK)

or

JS::PrepareForFullGC(rt); 
JS::GCForReason(rt, GC_NORMAL, reason);
@mbrubeck
Copy link
Contributor

@mbrubeck mbrubeck commented May 24, 2016

CC #233

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.