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

Issue 1336763002: Last snapshot bits to get working precompiled hello_world on x64. (Closed)

Created:
5 years, 3 months ago by rmacnak
Modified:
5 years, 3 months ago
Reviewers:
siva, Ivan Posva
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

-Setup heap page for precompiled instructions to make heap verifier etc happy. -Pre-mark instructions when writing the snapshot. -Write the megamorphic miss function to the snapshot. -Add missing ExceptionHandlers for megamorphic miss code. -Add missing C++ entry points. -Relocate Function and Code entry_points_ when reading precompiled snapshot. -Don't try to load a script again when running from a precompiled snapshot. R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/9764a9f03707b5d47fb961a5d1887bbd6256158a

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : sync #

Total comments: 15

Patch Set 4 : #

Total comments: 14

Patch Set 5 : #

Patch Set 6 : #

Total comments: 6

Patch Set 7 : #

Patch Set 8 : sync #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -65 lines) Patch
M runtime/bin/main.cc View 1 2 3 4 1 chunk +14 lines, -12 lines 0 comments Download
M runtime/vm/dart.h View 1 2 3 4 2 chunks +11 lines, -0 lines 0 comments Download
M runtime/vm/dart.cc View 1 2 3 4 5 6 7 8 4 chunks +13 lines, -2 lines 0 comments Download
M runtime/vm/heap.h View 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/isolate.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/isolate.cc View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -0 lines 0 comments Download
M runtime/vm/megamorphic_cache_table.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 5 6 3 chunks +1 line, -7 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 6 2 chunks +7 lines, -3 lines 0 comments Download
M runtime/vm/pages.h View 2 chunks +3 lines, -1 line 0 comments Download
M runtime/vm/pages.cc View 1 2 3 4 5 6 7 8 2 chunks +38 lines, -0 lines 0 comments Download
M runtime/vm/precompiler.cc View 1 2 3 4 3 chunks +4 lines, -1 line 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 4 5 6 3 chunks +5 lines, -0 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 3 4 5 6 7 7 chunks +23 lines, -25 lines 0 comments Download
M runtime/vm/snapshot.h View 1 2 3 4 5 6 3 chunks +35 lines, -1 line 0 comments Download
M runtime/vm/snapshot.cc View 1 2 3 4 5 6 6 chunks +35 lines, -13 lines 0 comments Download
M runtime/vm/virtual_memory.h View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/virtual_memory.cc View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
rmacnak
Together with my and Florian's outstanding CLs, hello_world runs precompiled!
5 years, 3 months ago (2015-09-11 00:46:48 UTC) #2
siva
https://codereview.chromium.org/1336763002/diff/40001/runtime/vm/dart.cc File runtime/vm/dart.cc (right): https://codereview.chromium.org/1336763002/diff/40001/runtime/vm/dart.cc#newcode320 runtime/vm/dart.cc:320: if (Object::instructions_snapshot_buffer() == NULL) { maybe we should have ...
5 years, 3 months ago (2015-09-14 21:29:34 UTC) #3
rmacnak
https://codereview.chromium.org/1336763002/diff/40001/runtime/vm/dart.cc File runtime/vm/dart.cc (right): https://codereview.chromium.org/1336763002/diff/40001/runtime/vm/dart.cc#newcode320 runtime/vm/dart.cc:320: if (Object::instructions_snapshot_buffer() == NULL) { On 2015/09/14 21:29:33, siva ...
5 years, 3 months ago (2015-09-15 20:07:45 UTC) #4
siva
https://codereview.chromium.org/1336763002/diff/60001/runtime/vm/isolate.cc File runtime/vm/isolate.cc (right): https://codereview.chromium.org/1336763002/diff/60001/runtime/vm/isolate.cc#newcode891 runtime/vm/isolate.cc:891: reinterpret_cast<uword>(instructions_snapshot) + header_size); As discussed offline it might be ...
5 years, 3 months ago (2015-09-15 23:22:01 UTC) #5
rmacnak
https://chromiumcodereview.appspot.com/1336763002/diff/60001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://chromiumcodereview.appspot.com/1336763002/diff/60001/runtime/vm/object.cc#newcode840 runtime/vm/object.cc:840: ASSERT(Object::IsRunningPrecompiledCode()); On 2015/09/15 23:22:01, siva wrote: > Yes, here ...
5 years, 3 months ago (2015-09-16 01:34:45 UTC) #6
siva
lgtm https://codereview.chromium.org/1336763002/diff/100001/runtime/vm/dart.cc File runtime/vm/dart.cc (right): https://codereview.chromium.org/1336763002/diff/100001/runtime/vm/dart.cc#newcode349 runtime/vm/dart.cc:349: // When running precompiled, the megamorphic miss function/code ...
5 years, 3 months ago (2015-09-16 16:45:41 UTC) #7
rmacnak
https://codereview.chromium.org/1336763002/diff/100001/runtime/vm/dart.cc File runtime/vm/dart.cc (right): https://codereview.chromium.org/1336763002/diff/100001/runtime/vm/dart.cc#newcode349 runtime/vm/dart.cc:349: // When running precompiled, the megamorphic miss function/code come ...
5 years, 3 months ago (2015-09-16 18:17:18 UTC) #8
rmacnak
5 years, 3 months ago (2015-09-16 18:23:02 UTC) #9
Message was sent while issue was closed.
Committed patchset #9 (id:160001) manually as
9764a9f03707b5d47fb961a5d1887bbd6256158a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698