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

Issue 2807031: [Isolates] RegExpStack and memory allocation limits (statics #6) (Closed)

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

Description

[Isolates] RegExpStack and memory allocation limits regexp-stack: -> Split RegExpStackState from RegExpStack. RegExpStacks can be allocated at will, while there is only one RegExpStackState per isolate. platform-linux/platform-macos: -> Protect lowest_ever_allocated and highest_ever_allocated with a mutex (limit_mutex) that is initialized in OS::Setup. Committed: http://code.google.com/p/v8/source/detail?r=5003

Patch Set 1 #

Patch Set 2 : rebased #

Total comments: 3

Patch Set 3 : rebase and address comments #

Patch Set 4 : -> is different than . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -43 lines) Patch
M src/assembler.cc View 1 2 2 chunks +6 lines, -3 lines 0 comments Download
M src/isolate.h View 1 2 3 chunks +4 lines, -0 lines 0 comments Download
M src/isolate.cc View 1 2 4 chunks +8 lines, -0 lines 0 comments Download
M src/platform-linux.cc View 1 2 3 chunks +7 lines, -0 lines 0 comments Download
M src/platform-macos.cc View 1 2 3 chunks +7 lines, -0 lines 0 comments Download
M src/platform-win32.cc View 3 chunks +8 lines, -0 lines 0 comments Download
M src/regexp-macro-assembler.cc View 1 2 3 3 chunks +9 lines, -7 lines 0 comments Download
M src/regexp-stack.h View 1 2 3 chunks +45 lines, -21 lines 0 comments Download
M src/regexp-stack.cc View 1 2 3 chunks +18 lines, -9 lines 0 comments Download
M src/v8threads.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M test/cctest/test-alloc.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/test-assembler-x64.cc View 1 2 7 chunks +7 lines, -0 lines 0 comments Download
M test/cctest/test-platform-linux.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/test-serialize.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M test/cctest/test-spaces.cc View 1 2 4 chunks +4 lines, -0 lines 0 comments Download
M test/cctest/test-utils.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
zarko
This could be the last of the obvious CLs. Thanks Luke
10 years, 5 months ago (2010-06-29 23:44:42 UTC) #1
Vitaly Repeshko
What about adding a similar mutex to platform-win32? http://codereview.chromium.org/2807031/diff/16001/17010 File src/regexp-stack.h (right): http://codereview.chromium.org/2807031/diff/16001/17010#newcode41 src/regexp-stack.h:41: class ...
10 years, 5 months ago (2010-07-01 20:53:23 UTC) #2
zarko
On 2010/07/01 20:53:23, Vitaly wrote: > What about adding a similar mutex to platform-win32? > ...
10 years, 5 months ago (2010-07-01 21:19:16 UTC) #3
Vitaly Repeshko
10 years, 5 months ago (2010-07-01 21:39:00 UTC) #4
LGTM.

Powered by Google App Engine
This is Rietveld 408576698