Closed Bug 595012 Opened 14 years ago Closed 6 years ago

Exception handling tracker

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: edwsmith, Unassigned)

References

Details

(Whiteboard: Tracking)

Several general aspects could be improved with exception handling:

* temporary data used between throw and catch should be thread-local
* try should be free if no exceptions are thrown
* setjmp/longjmp have platform-specific hazards

Dependent bugs track details.
Whiteboard: Tracking
Depends on: 595006
Depends on: 545409
Depends on: 569728
Depends on: 582782
Depends on: 479301
Depends on: 565210
In discussions with Bernd about deoptimization, it might be better to get rid of callee-saved registers; that is, in jit code, treat any call as killing all registers.  This means all values for a particular method's activation frame will be found in that method's stack frame, and not some callee's stack frame.

This of course helps streamline try blocks.  Instead of using setjmp to save all the registers, they would be saved anyway prior to any call which subsequently threw an exception.
Target Milestone: --- → Future
Flags: flashplayer-qrb+
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.