See if we can make error reporting not GC

NEW
Unassigned

Status

()

Core
JavaScript Engine
6 years ago
4 years ago

People

(Reporter: billm, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [js:t])

We can report errors in all sorts of weird places, and it makes us root variables in places where we wouldn't otherwise need to. So it would be great if error reporting never allocated. It sounds like the main problems would be:

1. Have a pre-created exception object around, as well as whatever related objects might be needed.

2. Delay calling the exception hooks until it's safe to GC.
Whiteboard: [js:t]
(Assignee)

Updated

4 years ago
Assignee: general → nobody
You need to log in before you can comment on or make changes to this bug.