Closed Bug 590232 Opened 14 years ago Closed 14 years ago

CodeAlloc allocation doesn't follow no-failure contract

Categories

(Core :: JavaScript Engine, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 559707

People

(Reporter: vlad, Unassigned)

Details

nanojit CodeAlloc's allocator is defined to never fail, but on windows all it does is call VirtualAlloc.  VirtualAlloc can return null, which just gets passed up to the caller, which then happily tries to use it.  We should abort if we ever get NULL back there.
blocking2.0: --- → ?
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
blocking2.0: ? → ---
You need to log in before you can comment on or make changes to this bug.