Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.1.0
-
Fix Version/s: 3.1.1
-
Component/s: MMTk: MarkCompact
-
Labels:None
-
Number of attachments :
Description
In the new threading model, every thread is a Mutator. When a thread dies, it notifies MMTk that it should "flush" the mutator, but for MarkCompact this isn't presently possible.
The obvious fix is something along the lines of switching MarkCompactSpace to use a FreeListPageResource, and have the mutators acquire and return blocks to the shared page resource. Then the Collectors could do the collection work, and sanity would be restored.
Fixed in r15845. Salient features of the fix are:
Some shortcomings that could be addressed in future are: