Closed Bug 582782 Opened 14 years ago Closed 6 years ago

Thread-safe exception throwing/handling

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: siwilkin, Assigned: gchaney)

References

Details

Attachments

(1 file, 1 obsolete file)

Exceptions are currently thrown and handled per AvmCore, not per-thread.
However, for a multi-threaded VM, it would be useful to throw exceptions concurrently from any thread.
Attached patch Initial patch (obsolete) — Splinter Review
The attached patch provides two things:

- Thread-local implementation of the current AvmCore fields which manage exceptions. This is a really simple implementation, and should be optimized more for the AvmCore's application-thread (as it will have to access a thread-local even when entering a try block).

- ExceptionSpecification: a mechanism for internal-VM threads to throw exceptions without having to execute AS constructors or class initializers.


The above is enabled via AVMFEATURE_BASIC_VM_THREAD_SAFETY
Depends on: 555760, 555765, asymmGC
Blocks: 582817
Blocks: 595012
Assignee: nobody → siwilkin
Flags: flashplayer-qrb+
Assignee: siwilkin → gchaney
Attachment #461060 - Attachment is obsolete: true
(In reply to comment #2)
> Created attachment 525942 [details] [diff] [review]
> Latest. TR rev 6090. Patch queue rev 277

This feature is not ifdef'd in the latest patch.
AVMFEATURE_BASIC_VM_THREAD_SAFETY has been removed.
Blocks: 650108
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: