Closed
Bug 964214
Opened 10 years ago
Closed 10 years ago
GenerationalGC: Some minor improvements to minor collection
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: jonco, Assigned: jonco)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
2.44 KB,
patch
|
terrence
:
review+
|
Details | Diff | Splinter Review |
3.20 KB,
patch
|
terrence
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•10 years ago
|
||
Currently we wait for background sweeping to finish before we start a minor GC. Since we don't alter the marks bits, I don't think this is necessary.
Attachment #8365878 -
Flags: review?(terrence)
Assignee | ||
Comment 2•10 years ago
|
||
If a store buffer is found to be about to overflow when we try to put a new entry we compact it, and if that fails to free any space, we trigger a minor GC. That minor GC will unnecessarily try to compact the buffer again. Compacting a full store buffer takes ~300 uS on my machine.
Attachment #8365879 -
Flags: review?(terrence)
Comment 3•10 years ago
|
||
Comment on attachment 8365878 [details] [diff] [review] dont-wait-for-bg Review of attachment 8365878 [details] [diff] [review]: ----------------------------------------------------------------- Makes sense. r=me
Attachment #8365878 -
Flags: review?(terrence) → review+
Comment 4•10 years ago
|
||
Comment on attachment 8365879 [details] [diff] [review] dont-recompact Review of attachment 8365879 [details] [diff] [review]: ----------------------------------------------------------------- Great! I'd been holding off on doing this because I couldn't think of a clean way to signal usage -- using the size is a nice solution. r=me
Attachment #8365879 -
Flags: review?(terrence) → review+
Assignee | ||
Comment 5•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/3fd32a07dcca https://hg.mozilla.org/integration/mozilla-inbound/rev/34ac931fc286
Comment 6•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/3fd32a07dcca https://hg.mozilla.org/mozilla-central/rev/34ac931fc286
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in
before you can comment on or make changes to this bug.
Description
•