Go to file
sgjesse@chromium.org d3e457303e Add API callback for tracking allocated memory
Allows the host application to provide a mechanism for notification and custom logging through a callback (set through the API V8::AddMemoryAllocationCallback and removed through V8::RemoveMemoryAllocationCallback), when V8 allocates ro frees 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=http://crbug.com/54222
TEST=Set the callback function with the API and cause V8 to allocate memory.

Patch by Paul Mehta <pmehta@chromium.org>

Review URL: http://codereview.chromium.org/3329006


git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5403 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2010-09-03 11:31:58 +00:00
benchmarks Update the V8 benchmark suite with the following fixes: 2010-06-28 12:28:37 +00:00
include Add API callback for tracking allocated memory 2010-09-03 11:31:58 +00:00
samples Add stack traces to mjsunit tests. 2010-05-14 10:00:24 +00:00
src Add API callback for tracking allocated memory 2010-09-03 11:31:58 +00:00
test Fix parsing of /**/--> on first line of input. 2010-09-02 07:36:30 +00:00
tools Address some issues with detecting the architecture. See 2010-08-31 08:05:33 +00:00
.gitignore Add '.cpplint-cache' to ignore lists for SVN and Git. This change also sets 'ignore' property on '.', although this change isn't visible in Rietveld. 2009-12-11 09:01:38 +00:00
AUTHORS Add v8::Value::IsRegExp method. 2010-08-10 09:53:56 +00:00
ChangeLog Prepare push of version 2.4.0 to trunk. Now working on version 2.4.1. 2010-09-01 06:37:49 +00:00
LICENSE Get rid of duplicate LICENSE entry for the Valgrind 2009-09-27 09:33:11 +00:00
SConstruct Give correct value ranges to enumeration types used as opaque types. 2010-08-16 17:14:34 +00:00