Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1198)

Issue 1938653002: JIT precompilated snapshots. (Closed)

Created:
4 years, 7 months ago by rmacnak
Modified:
4 years, 7 months ago
Reviewers:
Florian Schneider, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

JIT precompilated snapshots. (Precompiled snapshots with unoptimized code.) + ./out/ReleaseX64/dart --package-root=./out/ReleaseX64/packages ./pkg/compiler/lib/src/dart2js.dart /usr/local/google/home/rmacnak/hello.dart Dart file (/usr/local/google/home/rmacnak/hello.dart) compiled to JavaScript: out.js real 0m3.299s user 0m3.197s sys 0m0.831s + ./out/ProductX64/dart_bootstrap --full-snapshot-after-run=/usr/local/google/home/rmacnak/dart3/sdk/app --package-root=./out/ReleaseX64/packages ./pkg/compiler/lib/src/dart2js.dart /usr/local/google/home/rmacnak/hello.dart Dart file (/usr/local/google/home/rmacnak/hello.dart) compiled to JavaScript: out.js + ./out/ProductX64/dart --run-full-snapshot=/usr/local/google/home/rmacnak/dart3/sdk/app --package-root=./out/ReleaseX64/packages ./pkg/compiler/lib/src/dart2js.dart /usr/local/google/home/rmacnak/hello.dart vm-service: Isolate creation error: (null) Dart file (/usr/local/google/home/rmacnak/hello.dart) compiled to JavaScript: out.js real 0m1.979s user 0m1.806s sys 0m0.581s + ./out/ReleaseX64/dart_bootstrap --use_blobs --gen-precompiled-jit-snapshot=/usr/local/google/home/rmacnak/dart3/sdk --package-root=./out/ReleaseX64/packages ./pkg/compiler/lib/src/dart2js.dart /usr/local/google/home/rmacnak/hello.dart Dart file (/usr/local/google/home/rmacnak/hello.dart) compiled to JavaScript: out.js VMIsolate(CodeSize): 2699304 Isolate(CodeSize): 5930097 Instructions(CodeSize): 9440176 Total(CodeSize): 18069577 + ./out/ReleaseX64/dart --use_blobs --run-precompiled-jit-snapshot=/usr/local/google/home/rmacnak/dart3/sdk --package-root=./out/ReleaseX64/packages ./pkg/compiler/lib/src/dart2js.dart /usr/local/google/home/rmacnak/hello.dart Dart file (/usr/local/google/home/rmacnak/hello.dart) compiled to JavaScript: out.js real 0m0.994s user 0m1.259s sys 0m0.229s R=asiva@google.com, fschneider@google.com Committed: https://github.com/dart-lang/sdk/commit/257b3a82b8d3d1cee57956deb214e6ef1aba3ac1

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : rebase on instructions header change #

Patch Set 5 : #

Total comments: 18

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+452 lines, -174 lines) Patch
M runtime/bin/main.cc View 1 2 14 chunks +167 lines, -70 lines 0 comments Download
M runtime/include/dart_api.h View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M runtime/lib/isolate.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/dart.h View 3 chunks +5 lines, -4 lines 0 comments Download
M runtime/vm/dart.cc View 1 2 3 4 5 9 chunks +47 lines, -25 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 4 5 7 chunks +115 lines, -15 lines 0 comments Download
M runtime/vm/megamorphic_cache_table.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 7 chunks +7 lines, -7 lines 0 comments Download
M runtime/vm/object_store.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/pages.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/precompiler.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 4 5 5 chunks +10 lines, -0 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 3 4 5 12 chunks +73 lines, -20 lines 0 comments Download
M runtime/vm/service_isolate.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/snapshot.h View 1 2 3 4 5 3 chunks +4 lines, -11 lines 0 comments Download
M runtime/vm/snapshot.cc View 1 2 3 3 chunks +2 lines, -19 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
rmacnak
Depends on https://chromiumcodereview.appspot.com/1925153003/.
4 years, 7 months ago (2016-04-29 23:20:43 UTC) #5
Florian Schneider
https://codereview.chromium.org/1938653002/diff/40001/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://codereview.chromium.org/1938653002/diff/40001/runtime/include/dart_api.h#newcode2980 runtime/include/dart_api.h:2980: DART_EXPORT Dart_Handle Dart_PrecompileJIT(); When would you use this function ...
4 years, 7 months ago (2016-05-03 09:20:35 UTC) #6
rmacnak
https://codereview.chromium.org/1938653002/diff/40001/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://codereview.chromium.org/1938653002/diff/40001/runtime/include/dart_api.h#newcode2980 runtime/include/dart_api.h:2980: DART_EXPORT Dart_Handle Dart_PrecompileJIT(); On 2016/05/03 09:20:35, Florian Schneider wrote: ...
4 years, 7 months ago (2016-05-03 19:54:21 UTC) #7
Florian Schneider
lgtm
4 years, 7 months ago (2016-05-03 20:16:07 UTC) #8
siva
https://chromiumcodereview.appspot.com/1938653002/diff/80001/runtime/bin/main.cc File runtime/bin/main.cc (right): https://chromiumcodereview.appspot.com/1938653002/diff/80001/runtime/bin/main.cc#newcode85 runtime/bin/main.cc:85: static bool run_precompiled_jit_snapshot = false; I was wondering if ...
4 years, 7 months ago (2016-05-03 23:28:39 UTC) #9
rmacnak
On 2016/05/03 23:28:39, siva wrote: > https://chromiumcodereview.appspot.com/1938653002/diff/80001/runtime/bin/main.cc > File runtime/bin/main.cc (right): > > https://chromiumcodereview.appspot.com/1938653002/diff/80001/runtime/bin/main.cc#newcode85 > ...
4 years, 7 months ago (2016-05-04 18:21:22 UTC) #10
siva
Ok we can do the option changes in a new CL. Rest of the changes ...
4 years, 7 months ago (2016-05-05 00:08:32 UTC) #11
rmacnak
https://codereview.chromium.org/1938653002/diff/80001/runtime/vm/dart.cc File runtime/vm/dart.cc (right): https://codereview.chromium.org/1938653002/diff/80001/runtime/vm/dart.cc#newcode50 runtime/vm/dart.cc:50: Snapshot::Kind Dart::snapshot_kind_ = Snapshot::kNone; On 2016/05/05 00:08:32, siva wrote: ...
4 years, 7 months ago (2016-05-05 01:47:03 UTC) #12
rmacnak
4 years, 7 months ago (2016-05-05 01:47:46 UTC) #14
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
257b3a82b8d3d1cee57956deb214e6ef1aba3ac1 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698