DescriptionAdd unit test to ensure that we can execute a full GC on a thread other than the main mutator. (For now, the main mutator waits manually, since the GC does not yet safepoint.)
Adding this unit test ensures that we do not add any new code to the dependencies of the GC that assumes the current thread is the main mutator.
* Equip helper threads with a store buffer automatically, just like for the main thread.
* Share code by refactoring flushing.
BUG=
R=iposva@google.com
Committed: https://github.com/dart-lang/sdk/commit/655df891fc2d37f8ba67dd2374cf846a294473e9
Patch Set 1 #Patch Set 2 : Store buffer flushing, add TODO. #Patch Set 3 : Comments. #
Total comments: 6
Patch Set 4 : Address comments. #
Total comments: 8
Patch Set 5 : Add comments, use Acquire method. #
Messages
Total messages: 7 (1 generated)
|