Bug 86437
Summary: | CodeBlock::RareData() wastes a lot of vector capacity | ||
---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | barraclough, fpizlo, ggaren, msaboff, oliver |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 86281 |
Simon Fraser (smfr)
Data collected via bug 86281 show that a lot of vector capacity is wasted via the Vectors allocated here:
2232 vectors, 0.31KB used of 558.00KB, 557.69KB wasted at:
1 0x106979f55 WTF::Vector<JSC::InlineCallFrame, 4ul>::Vector()
2 0x106979625 WTF::Vector<JSC::InlineCallFrame, 4ul>::Vector()
3 0x1069795c4 WTF::SegmentedVector<JSC::InlineCallFrame, 4ul>::SegmentedVector()
4 0x106979465 WTF::SegmentedVector<JSC::InlineCallFrame, 4ul>::SegmentedVector()
5 0x106979319 JSC::CodeBlock::RareData::RareData()
2232 vectors, 17.44KB used of 558.00KB, 540.56KB wasted at:
1 0x106979e45 WTF::Vector<WTF::Vector<JSC::InlineCallFrame, 4ul>*, 32ul>::Vector()
2 0x106979645 WTF::Vector<WTF::Vector<JSC::InlineCallFrame, 4ul>*, 32ul>::Vector()
3 0x1069795d6 WTF::SegmentedVector<JSC::InlineCallFrame, 4ul>::SegmentedVector()
4 0x106979465 WTF::SegmentedVector<JSC::InlineCallFrame, 4ul>::SegmentedVector()
5 0x106979319 JSC::CodeBlock::RareData::RareData()
2232 vectors, 66.41KB used of 310.97KB, 244.56KB wasted at:
1 0x10697a185 WTF::Vector<JSC::LineInfo, 0ul>::Vector()
2 0x106979425 WTF::Vector<JSC::LineInfo, 0ul>::Vector()
3 0x1069792f9 JSC::CodeBlock::RareData::RareData()
4 0x106975bd5 JSC::CodeBlock::RareData::RareData()
5 0x106974214 JSC::CodeBlock::createRareDataIfNecessary()
2232 vectors, 486.60KB used of 692.79KB, 206.19KB wasted at:
1 0x10697a285 WTF::Vector<JSC::ExpressionRangeInfo, 0ul>::Vector()
2 0x106979405 WTF::Vector<JSC::ExpressionRangeInfo, 0ul>::Vector()
3 0x1069792e9 JSC::CodeBlock::RareData::RareData()
4 0x106975bd5 JSC::CodeBlock::RareData::RareData()
5 0x106974214 JSC::CodeBlock::createRareDataIfNecessary()
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Filip Pizlo
*** This bug has been marked as a duplicate of bug 86436 ***