Closed Bug 465031 Opened 16 years ago Closed 12 years ago

minimize the amount of locking in watchdog implementations

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: igor, Assigned: andrei)

References

Details

We should investigate if we can avoid creating and taking an extra lock in addition to the GC lock to implement the watchdog thread functionality from the bug #453157. This is feasible since NSPR allows to create several conditional variables per lock and SpiderMonkey relies on that. Thus at least in theory we should be able to base the watchdog conditional on the GC lock.
Runtime is now single-threaded.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.