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

Issue 209323014: Roll ICU 239289:258359 and add support for external ICU data tables (Closed)

Created:
6 years, 9 months ago by jochen (gone - plz use gerrit)
Modified:
6 years, 9 months ago
CC:
v8-dev, Paweł Hajdan Jr.
Visibility:
Public.

Description

Roll ICU 239289:258359 and add support for external ICU data tables The only binary that supports ICU data tables is d8. The location of the data table file has to be passed via a command line switch: $ out/x64.optdebug/d8 --icu-data-file=out/x64.optdebug/icudtl.dat BUG=72633, v8:3142 R=danno@chromium.org LOG=y Committed: https://code.google.com/p/v8/source/detail?r=20239

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -12 lines) Patch
M DEPS View 1 chunk +1 line, -1 line 0 comments Download
M Makefile View 1 chunk +1 line, -1 line 0 comments Download
M include/v8.h View 1 chunk +4 lines, -1 line 2 comments Download
M src/api.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/d8.h View 2 chunks +3 lines, -1 line 0 comments Download
M src/d8.cc View 2 chunks +4 lines, -1 line 0 comments Download
M src/icu_util.h View 1 chunk +1 line, -1 line 0 comments Download
M src/icu_util.cc View 3 chunks +36 lines, -4 lines 4 comments Download
M tools/gyp/v8.gyp View 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jochen (gone - plz use gerrit)
6 years, 9 months ago (2014-03-25 08:39:12 UTC) #1
jochen (gone - plz use gerrit)
please review the default for standalone builds is not to use an external data file.
6 years, 9 months ago (2014-03-25 08:39:57 UTC) #2
danno
lgtm with comments https://codereview.chromium.org/209323014/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/209323014/diff/1/include/v8.h#newcode4959 include/v8.h:4959: * of the data file as ...
6 years, 9 months ago (2014-03-25 08:47:21 UTC) #3
jochen (gone - plz use gerrit)
https://codereview.chromium.org/209323014/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/209323014/diff/1/include/v8.h#newcode4959 include/v8.h:4959: * of the data file as to be passed. ...
6 years, 9 months ago (2014-03-25 12:04:11 UTC) #4
jochen (gone - plz use gerrit)
Committed patchset #1 manually as r20239 (presubmit successful).
6 years, 9 months ago (2014-03-25 12:05:43 UTC) #5
Sven Panne
Again a bit late, but... https://codereview.chromium.org/209323014/diff/1/src/icu_util.cc File src/icu_util.cc (right): https://codereview.chromium.org/209323014/diff/1/src/icu_util.cc#newcode82 src/icu_util.cc:82: delete[] addr; On 2014/03/25 ...
6 years, 9 months ago (2014-03-25 12:10:56 UTC) #6
jungshik at Google
This is also late, but I'm just wondering about mmap. https://codereview.chromium.org/209323014/diff/1/src/icu_util.cc File src/icu_util.cc (right): https://codereview.chromium.org/209323014/diff/1/src/icu_util.cc#newcode81 ...
6 years, 9 months ago (2014-03-26 05:53:14 UTC) #7
jochen (gone - plz use gerrit)
On 2014/03/26 05:53:14, Jungshik Shin wrote: > This is also late, but I'm just wondering ...
6 years, 9 months ago (2014-03-26 08:21:35 UTC) #8
jungshik at Google
6 years, 9 months ago (2014-03-27 00:03:13 UTC) #9
Message was sent while issue was closed.
On 2014/03/26 08:21:35, jochen wrote:
> On 2014/03/26 05:53:14, Jungshik Shin wrote:
> > This is also late, but I'm just wondering about mmap.
> > 
> > https://codereview.chromium.org/209323014/diff/1/src/icu_util.cc
> > File src/icu_util.cc (right):
> > 
> > https://codereview.chromium.org/209323014/diff/1/src/icu_util.cc#newcode81
> > src/icu_util.cc:81: if (fread(addr, 1, size, inf) != size) {
> > Would it be a good idea to use memory map (I saw some utilities functions in
> v8
> > tree for mmap) instead?
> 
> there's just support for mmaping anonymous memory.
> 
> also, this code is only used for testing, so I don't think it needs to be too
> fancy

Thanks for the reply. BTW, do we have to care about sample/shell.cc ?

Powered by Google App Engine
This is Rietveld 408576698