mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
![Ryan Macnak](/assets/img/avatar_default.png)
Fix imprecision in Zone::SizeInBytes that was finally noticed by vm/cc/AllocateZone because the size of the initial inline buffer changed. TEST=ci Bug: https://github.com/dart-lang/sdk/issues/47399 Change-Id: I152d24d03a59b21267a9a24e5d929b51af57af71 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/215980 Reviewed-by: Siva Annamalai <asiva@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
18 lines
468 B
C++
18 lines
468 B
C++
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
#include "vm/dart_api_state.h"
|
|
|
|
#include "platform/assert.h"
|
|
#include "platform/utils.h"
|
|
#include "vm/heap/heap.h"
|
|
#include "vm/isolate.h"
|
|
#include "vm/lockers.h"
|
|
#include "vm/thread.h"
|
|
#include "vm/timeline.h"
|
|
|
|
namespace dart {
|
|
|
|
} // namespace dart
|