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

Issue 11028145: Changed StackZone and ApiZone to be containers for Zone. (Closed)

Created:
8 years, 2 months ago by Tom Ball
Modified:
8 years, 2 months ago
Reviewers:
siva, Ivan Posva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Changed StackZone and ApiZone to be containers for Zone. BUG= Committed: https://code.google.com/p/dart/source/detail?r=13707

Patch Set 1 #

Patch Set 2 : Added assertion for ApiZone linking. #

Total comments: 12

Patch Set 3 : Removed double-linking from zone list, code review feedback. #

Total comments: 8

Patch Set 4 : Added handles.h change, missing from previous update. #

Patch Set 5 : Reworked ApiScope unwinding. #

Total comments: 12

Patch Set 6 : Rewrote ApiScope unwinding functions, in-lined them. #

Total comments: 10

Patch Set 7 : Incorporated lastest feedback #

Patch Set 8 : Minor tweak to use RawError instead of RawObject. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -134 lines) Patch
M runtime/lib/isolate.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M runtime/lib/regexp_jsc.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/lib/string.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/assembler.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/base_isolate.h View 3 chunks +4 lines, -4 lines 0 comments Download
M runtime/vm/bigint_operations_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/code_descriptors_test.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 4 5 6 7 11 chunks +54 lines, -25 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/dart_api_state.h View 1 2 5 chunks +20 lines, -8 lines 0 comments Download
M runtime/vm/globals.h View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M runtime/vm/growable_array.h View 2 chunks +4 lines, -4 lines 0 comments Download
M runtime/vm/handles.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M runtime/vm/native_message_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/snapshot_test.cc View 3 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/symbols.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/zone.h View 1 2 5 chunks +25 lines, -48 lines 0 comments Download
M runtime/vm/zone.cc View 1 2 3 chunks +10 lines, -13 lines 0 comments Download
M runtime/vm/zone_test.cc View 4 chunks +16 lines, -15 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Tom Ball
8 years, 2 months ago (2012-10-11 19:37:00 UTC) #1
siva
LGTM with one question that we discussed offline regarding the test that caused you to ...
8 years, 2 months ago (2012-10-12 20:40:21 UTC) #2
Ivan Posva
Some nits. As Siva said the need for doubly-linked list pointed to some issue. It ...
8 years, 2 months ago (2012-10-12 21:46:33 UTC) #3
Tom Ball
PTAL: . The zone list is no longer a double-linked list; . Dart_PropagateError, Dart_ThrowException, and ...
8 years, 2 months ago (2012-10-12 22:56:51 UTC) #4
Ivan Posva
http://codereview.chromium.org/11028145/diff/10001/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): http://codereview.chromium.org/11028145/diff/10001/runtime/vm/dart_api_impl.cc#newcode460 runtime/vm/dart_api_impl.cc:460: RawObject* raw_obj = Api::UnwrapHandle(handle); Please wrap the area where ...
8 years, 2 months ago (2012-10-12 23:04:27 UTC) #5
Tom Ball
http://codereview.chromium.org/11028145/diff/10001/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): http://codereview.chromium.org/11028145/diff/10001/runtime/vm/dart_api_impl.cc#newcode460 runtime/vm/dart_api_impl.cc:460: RawObject* raw_obj = Api::UnwrapHandle(handle); On 2012/10/12 23:04:27, Ivan Posva ...
8 years, 2 months ago (2012-10-15 17:17:40 UTC) #6
siva
http://codereview.chromium.org/11028145/diff/20003/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): http://codereview.chromium.org/11028145/diff/20003/runtime/vm/dart_api_impl.cc#newcode459 runtime/vm/dart_api_impl.cc:459: DART_EXPORT Dart_Handle UnwindApiScopes(Isolate* isolate, Dart_Handle handle) { Why not ...
8 years, 2 months ago (2012-10-15 17:50:35 UTC) #7
Ivan Posva
https://chromiumcodereview.appspot.com/11028145/diff/20003/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://chromiumcodereview.appspot.com/11028145/diff/20003/runtime/vm/dart_api_impl.cc#newcode459 runtime/vm/dart_api_impl.cc:459: DART_EXPORT Dart_Handle UnwindApiScopes(Isolate* isolate, Dart_Handle handle) { There should ...
8 years, 2 months ago (2012-10-15 18:26:01 UTC) #8
Tom Ball
http://codereview.chromium.org/11028145/diff/20003/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): http://codereview.chromium.org/11028145/diff/20003/runtime/vm/dart_api_impl.cc#newcode459 runtime/vm/dart_api_impl.cc:459: DART_EXPORT Dart_Handle UnwindApiScopes(Isolate* isolate, Dart_Handle handle) { On 2012/10/15 ...
8 years, 2 months ago (2012-10-15 19:51:06 UTC) #9
Ivan Posva
http://codereview.chromium.org/11028145/diff/18004/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): http://codereview.chromium.org/11028145/diff/18004/runtime/vm/dart_api_impl.cc#newcode461 runtime/vm/dart_api_impl.cc:461: const Object& obj = Object::Handle(isolate, Api::UnwrapHandle(handle)); How about adding ...
8 years, 2 months ago (2012-10-15 20:32:17 UTC) #10
Tom Ball
http://codereview.chromium.org/11028145/diff/18004/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): http://codereview.chromium.org/11028145/diff/18004/runtime/vm/dart_api_impl.cc#newcode461 runtime/vm/dart_api_impl.cc:461: const Object& obj = Object::Handle(isolate, Api::UnwrapHandle(handle)); On 2012/10/15 20:32:17, ...
8 years, 2 months ago (2012-10-15 21:48:46 UTC) #11
Tom Ball
The latest changes are now uploaded -- the upload had been stuck overnight.
8 years, 2 months ago (2012-10-16 16:46:40 UTC) #12
siva
8 years, 2 months ago (2012-10-16 21:50:51 UTC) #13
lgtm

Powered by Google App Engine
This is Rietveld 408576698