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

Issue 5148002: Store script's line ends in copy-on-write fixed array. (Closed)

Created:
10 years, 1 month ago by Vyacheslav Egorov (Chromium)
Modified:
9 years, 7 months ago
Reviewers:
Vitaly Repeshko
CC:
v8-dev
Visibility:
Public.

Description

Store script's line ends in copy-on-write fixed array. This allows to remove explicit copy from line ends JS accessor which is used for formatting of stack traces. Eager copying of line ends array might cause multiple full GC collections for huge scripts (e.g. scripts generated by GWT compiler with PRETY preset). Committed: http://code.google.com/p/v8/source/detail?r=5839

Patch Set 1 #

Patch Set 2 : address problems with empty fixed array #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M src/accessors.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M src/handles.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Vyacheslav Egorov (Chromium)
10 years, 1 month ago (2010-11-17 10:49:24 UTC) #1
Vitaly Repeshko
10 years, 1 month ago (2010-11-17 12:33:08 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698