Skip to content

Commit 935b69e

Browse files
rmacnak-googlecommit-bot@chromium.org
authored and
commit-bot@chromium.org
committed
[vm] Increase alignment in the blob container format to 16k.
This accounts for the larger alignment required by mmap on ARM macOS. Bug: #42534 Change-Id: Ie58732924d5a7287f2736696a6db0ddce7d308c1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/153382 Commit-Queue: Ryan Macnak <rmacnak@google.com> Reviewed-by: Régis Crelier <regis@google.com>
1 parent 901fa79 commit 935b69e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/bin/snapshot_utils.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace dart {
2222
namespace bin {
2323

2424
static const int64_t kAppSnapshotHeaderSize = 5 * kInt64Size;
25-
static const int64_t kAppSnapshotPageSize = 4 * KB;
25+
static const int64_t kAppSnapshotPageSize = 16 * KB;
2626

2727
class MappedAppSnapshot : public AppSnapshot {
2828
public:

0 commit comments

Comments
 (0)