This repository was archived by the owner on Feb 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6k
Started using Dart_CreateInGroup when using spawn on a release build #23782
Merged
fluttergithubbot
merged 4 commits into
flutter:master
from
gaaclarke:lfe-create-in-group
Jan 22, 2021
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
e3f851b
Started using Dart_CreateInGroup when using spawn on a release build.
gaaclarke ca7b718
put try block around building the runtime_unittests
gaaclarke 4b6376d
reverted change to run_tests, tests are already run with the release …
gaaclarke f3e60f1
updated todos
gaaclarke File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -64,9 +64,10 @@ static const char* kDartLanguageArgs[] = { | |
| // clang-format on | ||
| }; | ||
|
|
||
| static const char* kDartPrecompilationArgs[] = { | ||
| "--precompilation", | ||
| }; | ||
| // TODO(74520): Remove flag once isolate group work is completed (or add it to | ||
| // JIT mode). | ||
| static const char* kDartPrecompilationArgs[] = {"--precompilation", | ||
| "--enable-isolate-groups"}; | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @mkustermann Is there a risk to turning this on for users that don't ever call |
||
|
|
||
| FML_ALLOW_UNUSED_TYPE | ||
| static const char* kDartWriteProtectCodeArgs[] = { | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In case of error, the error message must be printed to the log (like elsewhere in this TU). Also, can you make sure we don't have to free the error message buffer? The Dart APIs are a bit inconsistent about what to do with the error buffer. Something you have to
freeit otherwise its a small leak.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tonic class
DartErrorStringis taking care of that here, it was a bit harder to follow before. It should be more clear now.