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

Issue 3329006: Allows the host application to provide a mechanism to be notified and perfor... (Closed)

Created:
10 years, 3 months ago by Valoo
Modified:
9 years, 4 months ago
CC:
jschuh, v8-dev
Visibility:
Public.

Description

Allows the host application to provide a mechanism for notification and custom logging through a callback (set through the API V8::SetExecutableAllocCallback), when V8 Allocates Executable Memory. This replaces the current histogram data "V8.ExecutableMemoryMax" by allowing usage data to be logged by the application as required rather than always through V8. BUG=54222 TEST=Set the callback function with the API and cause V8 to allocate executable memory. Committed: http://code.google.com/p/v8/source/detail?r=5403

Patch Set 1 : Enables the host application to provide a mechanism to be notified and perfor... #

Total comments: 8

Patch Set 2 : '' #

Total comments: 15

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -13 lines) Patch
M include/v8.h View 1 2 2 chunks +38 lines, -0 lines 0 comments Download
M src/api.cc View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M src/spaces.h View 1 2 2 chunks +25 lines, -0 lines 0 comments Download
M src/spaces.cc View 1 2 10 chunks +69 lines, -13 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Valoo
10 years, 3 months ago (2010-09-02 07:09:22 UTC) #1
Søren Thygesen Gjesse
http://codereview.chromium.org/3329006/diff/2001/3001 File include/v8.h (right): http://codereview.chromium.org/3329006/diff/2001/3001#newcode2362 include/v8.h:2362: typedef void (*ExecutableAllocCallback)(int size_executable); I think this callback type ...
10 years, 3 months ago (2010-09-02 07:44:03 UTC) #2
Valoo
http://codereview.chromium.org/3329006/diff/2001/3001 File include/v8.h (right): http://codereview.chromium.org/3329006/diff/2001/3001#newcode2362 include/v8.h:2362: typedef void (*ExecutableAllocCallback)(int size_executable); Agreed, I'll make the changes ...
10 years, 3 months ago (2010-09-02 08:31:05 UTC) #3
Valoo
10 years, 3 months ago (2010-09-02 11:49:49 UTC) #4
Søren Thygesen Gjesse
http://codereview.chromium.org/3329006/diff/13003/17001 File include/v8.h (right): http://codereview.chromium.org/3329006/diff/13003/17001#newcode2363 include/v8.h:2363: enum ObjectSpace { Actually thinking about this again we ...
10 years, 3 months ago (2010-09-02 13:17:38 UTC) #5
Valoo
10 years, 3 months ago (2010-09-03 10:58:43 UTC) #6
Valoo
http://codereview.chromium.org/3329006/diff/13003/17001 File include/v8.h (right): http://codereview.chromium.org/3329006/diff/13003/17001#newcode2384 include/v8.h:2384: AllocationAction action); On 2010/09/02 13:17:38, Søren Gjesse wrote: > ...
10 years, 3 months ago (2010-09-03 10:59:07 UTC) #7
Søren Thygesen Gjesse
10 years, 3 months ago (2010-09-03 11:33:45 UTC) #8
LGTM

Committed: http://code.google.com/p/v8/source/detail?r=5403

Closing issue

Powered by Google App Engine
This is Rietveld 408576698