Closed Bug 576344 Opened 15 years ago Closed 15 years ago

ThreadLeave needs to wait until after collection work to decrement enterCount

Categories

(Tamarin Graveyard :: Garbage Collection (mmGC), defect, P1)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED
flash10.1.x-Crush

People

(Reporter: treilly, Assigned: treilly)

Details

(Whiteboard: WE:2653043)

Attachments

(1 file)

The reason is collection work can lead to a GCAutoEnterPause(ThreadLeave->ThreadEnter) used by CreateRootFromCurrentStack, see WE bug 2653043
Priority: -- → P1
Target Milestone: --- → flash10.1.x-Crush
Assignee: nobody → treilly
Status: NEW → ASSIGNED
Attachment #455515 - Flags: review?(lhansen)
The result of doing the enterCount early is that it goes negative when the GCAutoEnterPause calls ThreadLeave and it doesn't release the lock.
Attachment #455515 - Flags: review?(lhansen) → review+
tamarin-redux: changeset: 4908:86f7c996feed
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
injection in crush 10.1
Whiteboard: WE:2653043
Watson: 2653043
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: