DescriptionMigrate NoSafepointScope to Thread, so that helper threads can successfully call Heap::Allocate (but only for old space).
Safepointing is not yet implemented, so helper threads can only allocate when growth control is off and no Dart code is running. But extend unit test to ensure this code path remains exercised as more functionality is added.
BUG=
R=asiva@google.com
Committed: https://github.com/dart-lang/sdk/commit/fc8286ae7131eebb02075f12daa84c0b1dd4abcb
Patch Set 1 #Patch Set 2 : Growth control assertions, test unique string visiting. #Patch Set 3 : Access isolate via thread. #Patch Set 4 : Ready for review. #
Total comments: 4
Patch Set 5 : Assert current thread is mutator; add shared assertion macro. #
Messages
Total messages: 6 (2 generated)
|