Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jakemac53
Copy link
Contributor

Closes #2543.

I haven't actually tested it yet, nor do I have any idea of how to write a test for it 😭 .

@googlebot googlebot added the cla: yes Google is happy with the PR contributors label Nov 13, 2019
Copy link
Member

@sigmundch sigmundch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To manually test it, I'd try something like passing --observe --print_metrics on a small program. That should show you a URI to open up observatory and it should also print extra data to stderr about memory utilization at the end.

There might be other flags that also print information, so you could potentially write tests that inspect stdout and stderr to look for the signal that the options are passed through.

@jakemac53
Copy link
Contributor Author

I was able to manually test this and it works - adding an actual test would require bumping the min constraint for build_modules in build_web_compilers which is probably not worth doing.

@jakemac53 jakemac53 merged commit 977b797 into master Nov 14, 2019
@jakemac53 jakemac53 deleted the dart2js-vm-args branch November 14, 2019 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Google is happy with the PR contributors

Projects

None yet

Development

Successfully merging this pull request may close these issues.

support passing VM flags to subprocesses

4 participants