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

Issue 2864032: [Isolates] Statics 7: ExternalReference*/Simulator/dtoa... (Closed)

Created:
10 years, 5 months ago by zarko
Modified:
9 years, 7 months ago
Reviewers:
maxim.mossienko, Vitaly Repeshko, Dmitry Titov
CC:
v8-dev
Visibility:
Public.

Description

[Isolates] Statics 7: ExternalReference*/Simulator/dtoa - Fix up ExternalReference{Table|Encoder|Decoder} for multiple isolates. - Define MULTIPLE_THREADS for dtoa. - Fix up the simulator for multiple isolates. Committed: http://code.google.com/p/v8/source/detail?r=5005

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : lint #

Patch Set 4 : lint #

Patch Set 5 : lint + initialize a field for the simulator #

Total comments: 4

Patch Set 6 : rebase and address comments #

Patch Set 7 : add conversions.cc #

Patch Set 8 : fix a missing NULL init that was lost in a rebase #

Patch Set 9 : we don't need to change platform.h #

Total comments: 5

Patch Set 10 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -79 lines) Patch
M src/arm/cpu-arm.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M src/arm/simulator-arm.h View 1 2 3 4 5 6 7 8 9 6 chunks +24 lines, -18 lines 0 comments Download
M src/arm/simulator-arm.cc View 1 2 3 4 5 6 7 8 9 10 chunks +37 lines, -40 lines 0 comments Download
M src/conversions.cc View 7 8 9 1 chunk +19 lines, -0 lines 0 comments Download
M src/dtoa-config.c View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M src/isolate.h View 1 2 3 4 5 6 7 8 9 6 chunks +47 lines, -0 lines 0 comments Download
M src/isolate.cc View 1 2 3 4 5 6 7 8 9 2 chunks +11 lines, -0 lines 0 comments Download
M src/serialize.h View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M src/serialize.cc View 1 2 3 4 5 6 7 8 9 8 chunks +24 lines, -20 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
zarko
code. was returning 500s hence the multiple 'lint' weirdness. Thanks Luke
10 years, 5 months ago (2010-06-30 23:36:56 UTC) #1
Maxim.Mossienko
http://codereview.chromium.org/2864032/diff/31001/32006 File src/isolate.h (right): http://codereview.chromium.org/2864032/diff/31001/32006#newcode825 src/isolate.h:825: #if defined(V8_TARGET_ARCH_ARM) && !defined(__arm__) code probably would benefit from ...
10 years, 5 months ago (2010-07-01 07:52:14 UTC) #2
Vitaly Repeshko
http://codereview.chromium.org/2864032/diff/31001/32003 File src/arm/simulator-arm.h (right): http://codereview.chromium.org/2864032/diff/31001/32003#newcode345 src/arm/simulator-arm.h:345: return assembler::arm::Simulator::current(v8::internal::Isolate::Current()) nit: Split the line before "v8". http://codereview.chromium.org/2864032/diff/31001/32007 ...
10 years, 5 months ago (2010-07-01 21:10:07 UTC) #3
zarko
On 2010/07/01 21:10:07, Vitaly wrote: > http://codereview.chromium.org/2864032/diff/31001/32003 > File src/arm/simulator-arm.h (right): > > http://codereview.chromium.org/2864032/diff/31001/32003#newcode345 > ...
10 years, 5 months ago (2010-07-01 21:36:48 UTC) #4
Vitaly Repeshko
10 years, 5 months ago (2010-07-01 21:43:27 UTC) #5
LGTM with a few nits.

http://codereview.chromium.org/2864032/diff/16003/49004
File src/arm/simulator-arm.cc (right):

http://codereview.chromium.org/2864032/diff/16003/49004#newcode499
src/arm/simulator-arm.cc:499: void Simulator::FlushICache(v8::internal::HashMap*
i_cache, void* start_addr,
nit: One arg per line.

http://codereview.chromium.org/2864032/diff/16003/49004#newcode534
src/arm/simulator-arm.cc:534: void
Simulator::FlushOnePage(v8::internal::HashMap* i_cache, intptr_t start,
Ditto.

http://codereview.chromium.org/2864032/diff/16003/49006
File src/conversions.cc (right):

http://codereview.chromium.org/2864032/diff/16003/49006#newcode1165
src/conversions.cc:1165: void ACQUIRE_DTOA_LOCK(int n) {
ASSERT(n == 0 || n == 1)

http://codereview.chromium.org/2864032/diff/16003/49006#newcode1171
src/conversions.cc:1171: (n == 0 ? v8::internal::dtoa_lock_zero :
v8::internal::dtoa_lock_one)->
Ditto.

http://codereview.chromium.org/2864032/diff/16003/49007
File src/dtoa-config.c (right):

http://codereview.chromium.org/2864032/diff/16003/49007#newcode88
src/dtoa-config.c:88: /* Definitions for dtoa's ACQUIRE_DTOA_LOCK and
FREE_DTOA_LOCK are in
Thanks for adding this comment.

Powered by Google App Engine
This is Rietveld 408576698