DescriptionSafer interface for heap iteration.
Address issue 21620, by sharing code to wait for concurrent sweeper to finish, and freeing the caller from this responsibility. The new public interface is Heap::Iterate*, and the old Heap::Visit* are made private, for GC use only.
(Eventually, we'll want to support iterating over the heap while concurrent GC runs, but that will have to wait until all header accesss is synchronized.)
BUG=21620
R=asiva@google.com
Committed: https://github.com/dart-lang/sdk/commit/3fc6fce1c03328f4201bacfd9f8f6de0cef88376
Patch Set 1 #
Total comments: 6
Patch Set 2 : Address review comments. #Patch Set 3 : Fix assertion. #
Total comments: 2
Patch Set 4 : Fix release mode. #
Messages
Total messages: 7 (1 generated)
|