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

Issue 527006: - Adjust the number to string cache based on the max semispace size.... (Closed)

Created:
10 years, 11 months ago by bak
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

- Adjust the number to string cache based on the max semispace size. Flushed at compacting mark sweep. - Simplified FindEntry by eliminating the counter.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -43 lines) Patch
M src/heap.h View 2 chunks +6 lines, -3 lines 0 comments Download
M src/heap.cc View 4 chunks +32 lines, -12 lines 1 comment Download
M src/objects.h View 1 chunk +8 lines, -0 lines 0 comments Download
M src/objects.cc View 3 chunks +21 lines, -28 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
bak
10 years, 11 months ago (2010-01-06 10:41:00 UTC) #1
Mads Ager (chromium)
10 years, 11 months ago (2010-01-06 11:16:00 UTC) #2
LGTM

http://codereview.chromium.org/527006/diff/1/2
File src/heap.cc (right):

http://codereview.chromium.org/527006/diff/1/2#newcode1611
src/heap.cc:1611: // max_semispace_size_ == 512 KB => number_string_cache_size =
16.
32?

Also, the logic seems different from what the comment suggests.  Update the
comment?

Powered by Google App Engine
This is Rietveld 408576698