forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to enable serial GC (flutter#30975)
* Roll Dart SDK from e256855 to a3b62f3 (4 revisions) (flutter#21809) * Roll Dart SDK from e655b9a to b58cfe5 (1 revision) (flutter#21920) * Roll Dart SDK from fc82eee to 8be6a08 (1 revision) (flutter#22005) * Roll Dart SDK from fe12b05 to a188781 (1 revision) (flutter#22379) * Roll Skia from 95b5fb9 to 68ac3b9 (17 revisions) (flutter#22713) * Roll Dart SDK from 2c74e62 to f9760fc (5 revisions) (flutter#22881) * Roll Dart SDK from 68d1c75 to f166571 (1 revision) (flutter#23056) * Roll Dart SDK from 970d74c to fd72dbb (1 revision) (flutter#23820) * Trigger an engine build to re-open the tree (flutter#26056) This commit is empty and simply triggers a new build to open the tree. Commit 106963e was re-built after a succesful build; upload to the cloud storage bin failed. * Roll Skia from d9a7c5953df3 to 827bb729a84d (2 revisions) (flutter#26096) * Roll Dart SDK from d616108 to a527411 (0 revision) (flutter#26156) * Roll Dart SDK from bb9d96f to 7250fd6 (0 revision) (flutter#26374) * Roll Dart SDK from 202c42e to 2e9c430 (1 revision) (flutter#26578) * Roll buildroot to 275038b (flutter#26945) * [test] empty commit (flutter#27599) https://flutter-review.googlesource.com/c/infra/+/15660 * Roll Dart SDK from e141400 to 6860708 (1 revision) (flutter#27620) * Empty commit to apply latest LUCI config (flutter#27767) * Roll Dart SDK from 3b11f88 to 976f160 (3 revisions) (flutter#29436) * Empty commit to fix main tree status (flutter#29760) * Add option to enable serial GC This option can be used to avoid thread contention issues for the UI thread when running on low power devices with limited number of cores. * Fix format. * Added test. * Add build rule. * Address review comments. Co-authored-by: skia-flutter-autoroll <[email protected]> Co-authored-by: Chris Bracken <[email protected]> Co-authored-by: Casey Hillers <[email protected]>
- Loading branch information
1 parent
3408278
commit 6031924
Showing
7 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright 2013 The Flutter Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
// FlutterTesterOptions=--enable-serial-gc | ||
|
||
import 'package:litetest/litetest.dart'; | ||
|
||
void main() { | ||
test('Serial GC option test ', () async { | ||
bool threw = false; | ||
for (int i = 0; i < 100; i++) { | ||
var a = <int>[100]; | ||
} | ||
expect(threw, false); | ||
}); | ||
} |