Closed Bug 491023 Opened 16 years ago Closed 13 years ago

Arena allocations in LeaveTree aren't really infallible

Categories

(Core :: JavaScript Engine, defect)

Other Branch
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jorendorff, Unassigned)

Details

Graydon pointed this out a week or two ago. The strategy here is 1. When entering a trace, allocate a big chunk of memory. 2. Make sure we only ever need that much memory when leaving trace. 3. In LeaveTree, RELEASE that memory all at once, and 4. ALLOCATE it in smaller chunks for stack frames. The big chunk is always on a single page. But RELEASE could give that page back to the OS, so the following ALLOCATE could fail.
Obsolete with the removal of tracejit.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.