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

Issue 3165016: Allow allocation in FailedAccessCheckCallback to allow embedders to... (Closed)

Created:
10 years, 4 months ago by Mads Ager (chromium)
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Allow allocation in FailedAccessCheckCallback to allow embedders to for instance throw exceptions in case of failed access checks. Committed: http://code.google.com/p/v8/source/detail?r=5257

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -7 lines) Patch
M src/handles.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/objects.cc View 2 chunks +6 lines, -2 lines 0 comments Download
M src/top.cc View 2 chunks +0 lines, -3 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 chunks +97 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Mads Ager (chromium)
10 years, 4 months ago (2010-08-13 06:39:27 UTC) #1
Søren Thygesen Gjesse
LGTM http://codereview.chromium.org/3165016/diff/1/5 File test/cctest/test-api.cc (right): http://codereview.chromium.org/3165016/diff/1/5#newcode11209 test/cctest/test-api.cc:11209: i::Heap::CollectAllGarbage(false); Should this maybe be true to force ...
10 years, 4 months ago (2010-08-13 06:51:23 UTC) #2
Mads Ager (chromium)
10 years, 4 months ago (2010-08-13 06:54:50 UTC) #3
http://codereview.chromium.org/3165016/diff/1/5
File test/cctest/test-api.cc (right):

http://codereview.chromium.org/3165016/diff/1/5#newcode11209
test/cctest/test-api.cc:11209: i::Heap::CollectAllGarbage(false);
On 2010/08/13 06:51:23, Søren Gjesse wrote:
> Should this maybe be true to force compaction?

I see no harm in that and it would cause more movement in the heap and
potentially catch more bugs. Will do. :)

Powered by Google App Engine
This is Rietveld 408576698