Skip to content

Commit 09bbd3c

Browse files
a-sivacommit-bot@chromium.org
authored andcommitted
[VM/concurrency] - Temporary workaround for issue #40836
Change-Id: I4369c717122ef7b84c5931b8fb3edf18fb433375 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/137880 Reviewed-by: Jason Simmons <[email protected]> Commit-Queue: Siva Annamalai <[email protected]>
1 parent 5af2cc7 commit 09bbd3c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

runtime/vm/heap/heap.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,8 @@ void Heap::EvacuateNewSpace(Thread* thread, GCReason reason) {
460460
}
461461

462462
void Heap::CollectNewSpaceGarbage(Thread* thread, GCReason reason) {
463-
NoActiveIsolateScope no_active_isolate_scope;
463+
// TODO(40836) : Uncomment this line once the issue is fixed.
464+
// NoActiveIsolateScope no_active_isolate_scope;
464465
ASSERT((reason != kOldSpace) && (reason != kPromotion));
465466
if (thread->isolate_group() == Dart::vm_isolate()->group()) {
466467
// The vm isolate cannot safely collect garbage due to unvisited read-only
@@ -494,7 +495,8 @@ void Heap::CollectNewSpaceGarbage(Thread* thread, GCReason reason) {
494495
void Heap::CollectOldSpaceGarbage(Thread* thread,
495496
GCType type,
496497
GCReason reason) {
497-
NoActiveIsolateScope no_active_isolate_scope;
498+
// TODO(40836) : Uncomment this line once the issue is fixed.
499+
// NoActiveIsolateScope no_active_isolate_scope;
498500

499501
ASSERT(reason != kNewSpace);
500502
ASSERT(type != kScavenge);

0 commit comments

Comments
 (0)