Closed
Bug 524540
Opened 16 years ago
Closed 16 years ago
Deadlock when Abort induced during GC::Collect
Categories
(Tamarin Graveyard :: Garbage Collection (mmGC), defect, P2)
Tamarin Graveyard
Garbage Collection (mmGC)
Tracking
(Not tracked)
VERIFIED
FIXED
flash10.1
People
(Reporter: bgetlin, Assigned: lhansen)
Details
(Whiteboard: Has patch)
Attachments
(1 file, 2 obsolete files)
|
2.61 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Build Identifier:
If the memory hardlimit is induced, we attempt to iterate through all active GC instances to invoke a collection. If GC::Collect is invoked "out of line" from the current thread's GC::stackEnter, and then Aborts due to memory allocation, the m_gcLock on that GC is never released.
Reproducible: Sometimes
| Assignee | ||
Comment 2•16 years ago
|
||
Substantive:
- the comment in GCHeap.cpp about "collecting on another thread's gc" is
misleading, because GCs don't belong to threads, and indeed the only way
that ef->m_collectingGC can be non-NULL is that that GC is not active on
any thread in the conventional sense. What is actually going on is that
the calling thread is holding a lock for a GC that's not currently
active on this thread, and that lock must be broken.
Stylistic:
- broken indentation in new code in GCHeap.cpp (one tab too many; tab stops
are 4 places when used at all)
- the "NULL == whatever" style in the new code in GC.cpp needs to be changed
(that style is not used in the VM)
| Assignee | ||
Updated•16 years ago
|
Status: UNCONFIRMED → ASSIGNED
Component: Virtual Machine → Garbage Collection (mmGC)
Ever confirmed: true
OS: Windows Vista → All
Priority: -- → P2
QA Contact: vm → gc
Hardware: x86 → All
Target Milestone: --- → flash10.1
| Assignee | ||
Comment 3•16 years ago
|
||
Comment on attachment 408459 [details] [diff] [review]
Patch
I'll make the adjustments before landing.
Attachment #408459 -
Flags: review?(lhansen) → review+
| Assignee | ||
Updated•16 years ago
|
Assignee: nobody → lhansen
| Assignee | ||
Comment 4•16 years ago
|
||
Attachment #408459 -
Attachment is obsolete: true
| Assignee | ||
Updated•16 years ago
|
Whiteboard: Has patch
| Assignee | ||
Comment 5•16 years ago
|
||
Attachment #408565 -
Attachment is obsolete: true
| Assignee | ||
Comment 6•16 years ago
|
||
redux changeset: 2885:d45e4c075424
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•