Race condition with setFirstEnter

RESOLVED WONTFIX

Status

()

Core
JavaScript Engine
RESOLVED WONTFIX
7 years ago
6 years ago

People

(Reporter: gwagner, Assigned: cdleary)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
I just hit the assertion:
JS_ASSERT(!firstEnterValid);

There is a race condition in the setFirstEnter path because we are not yet in the synchronized mode in js_GC.
(In reply to comment #0)
> There is a race condition in the setFirstEnter path because we are not yet
> in the synchronized mode in js_GC.

Ah, okay, I changed it away from a static local variable, which didn't make any synchronization guarantees, so I assumed that the change would be okay. I'll take assignment to familiarize myself with the threading situation.
Assignee: general → cdleary
Status: NEW → ASSIGNED
(Reporter)

Comment 2

6 years ago
This code is gone.
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.