Closed Bug 693858 Opened 12 years ago Closed 9 years ago

Hoist YARR WTF::BumpPointerAllocator to ThreadData and consider replacing it with LifoAlloc adapter

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: cdleary, Unassigned)

References

Details

(Whiteboard: [MemShrink:P3])

I haven't looked at it too hard, but the BumpPointerAllocator for YARR seems to do roughly what our LifoAlloc does, which lives on the thread data already as tempLifoAlloc. We shouldn't have more than one LIFO allocator if we can help it.
I'm going to label this as MemShrink, since consolidating to one LIFO-style allocator could possibly avoid alloc/free thrashing in the WTF::BumpPointerAllocator and multiple simultaneously outstanding chunks of memory.
No longer blocks: 673274
Whiteboard: [MemShrink]
Whiteboard: [MemShrink] → [MemShrink:P3]
This bug is no longer relevant because YARR has been replaced by irregexp in bug 976446.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
See Also: → 976446
Summary: Hoist WTF::BumpPointerAllocator to ThreadData and consider replacing it with LifoAlloc adapter → Hoist YARR WTF::BumpPointerAllocator to ThreadData and consider replacing it with LifoAlloc adapter
You need to log in before you can comment on or make changes to this bug.