v8/include
vegorov 0e024449b8 Make counter and histogram related callbacks part of the Isolate::CreateParams.
Some native counters (e.g. KeyedLoadGenericSlow) are referenced from stubs that are generated very early in the Isolate lifecycle before v8::Isolate::New returns. Thus counter lookup callback also needs to be installed early prior to v8::internal::Isolate::Init call. Otherwise assembler will just assume that the counter is not enabled and produce no code from IncrementCounter - because address of the counter is not yet available.

Histogram related callbacks are moved for consistency to make them able to collect samples which occur at isolate initialization time.

BUG=

Review URL: https://codereview.chromium.org/1010233002

Cr-Commit-Position: refs/heads/master@{#27262}
2015-03-18 10:15:04 +00:00
..
libplatform Revert "Forward declaration for Isolate / Platform in libplatform.h." and "Fixes d8 on windows following.". 2014-11-19 07:28:07 +00:00
v8-debug.h convert most remaining api functions needing context to maybes 2015-03-11 09:33:04 +00:00
v8-platform.h Remove default NOP implementation of MonotonicallyIncreasingTime. 2014-10-09 10:44:30 +00:00
v8-profiler.h Remove obsolete TakeHeapSnapshot method from API 2015-03-16 09:49:28 +00:00
v8-testing.h Bulk update of Google copyright headers in source files. 2014-04-29 06:42:26 +00:00
v8-util.h remove phantom naming from the api 2015-03-09 21:48:09 +00:00
v8-version.h Add public version macros. 2015-02-26 08:59:23 +00:00
v8.h Make counter and histogram related callbacks part of the Isolate::CreateParams. 2015-03-18 10:15:04 +00:00
v8config.h add V8_DEPRECATE_SOON macros to make it easier to identify calls which need deprecation 2015-03-09 09:49:28 +00:00