On 9/26/13 4:35 PM, Benjamin Peterson wrote:
How much is this a JS problem compared to a Gecko one? IIRC, almost
everywhere outside of JS just crashes if it can't allocate memory.

It depends.

Almost everywhere outside JS crashes on failure of _small_ allocations.

Large allocations (esp ones whose size is under content control) should still be checked.

But yes, it would be nice if things like JS_NewObject became infallible... ;)

-Boris
_______________________________________________
dev-tech-js-engine-internals mailing list
dev-tech-js-engine-internals@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to