dart2js: Remove heap-growth-flag that was passed to the VM.

R=iposva@google.com

Review URL: https://codereview.chromium.org//892233003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43441 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
floitsch@google.com 2015-02-03 22:24:47 +00:00
parent 032115ecf3
commit 05c54a2ab3
5 changed files with 0 additions and 20 deletions

View file

@ -7,8 +7,6 @@ import "dart2js.dart" as dart2js;
const ITERATIONS_FLAG_PREFIX = "--iterations=";
void main(List<String> args) {
print("Reminder: for best performance, "
"dart2js should be run with the VM flag --heap_growth_rate=512");
Stopwatch sw = new Stopwatch();
int count = 0;
int maxCount = null;

View file

@ -36,12 +36,6 @@ fi
unset EXTRA_VM_OPTIONS
declare -a EXTRA_VM_OPTIONS
# Tell the VM to grow the heap more aggressively. This should only
# be necessary temporarily until the VM is better at detecting how
# applications use memory.
# TODO(ahe): Remove this option (http://dartbug.com/6495).
EXTRA_VM_OPTIONS[${#EXTRA_VM_OPTIONS[@]}]='--heap_growth_rate=512'
case $0 in
*_developer)
EXTRA_VM_OPTIONS+=('--checked')

View file

@ -26,9 +26,6 @@ if _%DART2JS_DEVELOPER_MODE%_ == _1_ (
set EXTRA_VM_OPTIONS=%EXTRA_VM_OPTIONS% --checked
)
rem See comments regarding options below in dart2js shell script.
set EXTRA_VM_OPTIONS=%EXTRA_VM_OPTIONS% --heap_growth_rate=512
rem We allow extra vm options to be passed in through an environment variable.
if not "_%DART_VM_OPTIONS%_" == "__" (
set EXTRA_VM_OPTIONS=%EXTRA_VM_OPTIONS% %DART_VM_OPTIONS%

View file

@ -43,12 +43,6 @@ if test -f "$SNAPSHOT"; then
EXTRA_OPTIONS+=("--library-root=$SDK_DIR")
fi
# Tell the VM to grow the heap more aggressively. This should only
# be necessary temporarily until the VM is better at detecting how
# applications use memory.
# TODO(ahe): Remove this option (http://dartbug.com/6495).
EXTRA_VM_OPTIONS[${#EXTRA_VM_OPTIONS[@]}]='--heap_growth_rate=512'
case $0 in
*_developer)
EXTRA_VM_OPTIONS+=('--checked')

View file

@ -31,9 +31,6 @@ if exist "%SNAPSHOT%" (
set EXTRA_OPTIONS=%EXTRA_OPTIONS% "--library-root=%SDK_DIR%"
)
rem See comments regarding options below in dart2js shell script.
set EXTRA_VM_OPTIONS=%EXTRA_VM_OPTIONS% --heap_growth_rate=512
rem We allow extra vm options to be passed in through an environment variable.
if not "_%DART_VM_OPTIONS%_" == "__" (
set EXTRA_VM_OPTIONS=%EXTRA_VM_OPTIONS% %DART_VM_OPTIONS%