mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:07:49 +00:00
Skip heap verify on 64-bit with an app snapshot
See issue: https://github.com/dart-lang/sdk/issues/27373 R=rmacnak@google.com Review URL: https://codereview.chromium.org/2348793004 .
This commit is contained in:
parent
e2b922b4c5
commit
5348efba7d
|
@ -562,6 +562,13 @@ ObjectSet* Heap::CreateAllocatedObjectSet(
|
|||
|
||||
|
||||
bool Heap::Verify(MarkExpectation mark_expectation) const {
|
||||
// TODO(27373): Remove this test when the issue is fixed.
|
||||
#if defined(ARCH_IS_64_BIT)
|
||||
if ((Dart::snapshot_kind() == Snapshot::kAppNoJIT) ||
|
||||
(Dart::snapshot_kind() == Snapshot::kAppWithJIT)) {
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
HeapIterationScope heap_iteration_scope;
|
||||
return VerifyGC(mark_expectation);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue