- 25 Apr, 2013 2 commits
-
-
hpayer@chromium.org authored
The GC prologue is called by the GC, but also by the heap snapshotter. The RetainedObjectInfos are only needed by the heap snapshotter, so it's wasteful to construct them always. (And it will be even more wasteful when Blink migrates to the new GC APIs, since after that point it no longer knows about object groups.) BUG= Review URL: https://codereview.chromium.org/14471028 Patch from Marja Hölttä <marja@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14439 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
dslomov@chromium.org authored
R=rossberg@chromium.org BUG= Review URL: https://codereview.chromium.org/13958007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14438 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 24 Apr, 2013 2 commits
-
-
mstarzinger@chromium.org authored
With these APIs, the embedder doesn't need to copy Persistent handles around. BUG= Review URL: https://codereview.chromium.org/14007008 Patch from Marja Hölttä <marja@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14423 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
dcarney@chromium.org authored
Instead, create Local handles to pass them around. This also means that the code needs to be shifted around a bit such that a handle scope exists when creating threads. Review URL: https://codereview.chromium.org/14150017 Patch from Jochen Eisinger <jochen@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14420 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 22 Apr, 2013 2 commits
-
-
yangguo@chromium.org authored
R=yangguo@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/12426015 Patch from Dan Carney <dcarney@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14379 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
R=mvstanton@chromium.org BUG=v8:2361 Review URL: https://chromiumcodereview.appspot.com/14401008 Patch from Andrew Paprocki <andrew@ishiboo.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14378 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 16 Apr, 2013 3 commits
-
-
mstarzinger@chromium.org authored
We need to solve efficiency problems first. This reverts the following revisions: 14283 14286 14221 14215 BUG= Review URL: https://codereview.chromium.org/14294009 Patch from Marja Hölttä <marja@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14293 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
Review URL: https://codereview.chromium.org/14293010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14290 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
When using these APIs, the embedder doesn't need to copy Persistent handles around. BUG=NONE Review URL: https://codereview.chromium.org/14175005 Patch from Marja Hölttä <marja@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14283 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 12 Apr, 2013 1 commit
-
-
danno@chromium.org authored
In this patch, we added the JIT code event handler for Vtune. Most of the code is in the folder src/third_party/vtune. Two APIs are added in include/v8.h to get the requirement info from V8. We add the v8_enable_vtunejit parameter for GYP to enable these Vtune code compilation. vTune::InitilizeVtuneForV8() is invoked in the embedder of V8 to make sure it's invokded if vtune support is enabled. Review URL: https://codereview.chromium.org/11574031 Patch from Chunyang Dai <chunyang.dai@intel.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14253 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 10 Apr, 2013 4 commits
-
-
yurys@chromium.org authored
BUG=None Review URL: https://codereview.chromium.org/12413027 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14216 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
When using these APIs, the embedder doesn't need to copy Persistent handles around. BUG=NONE Review URL: https://codereview.chromium.org/13786002 Patch from Marja Hölttä <marja@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14215 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
rossberg@chromium.org authored
Specifically: - Introduce Symbol and SymbolObject classes. - Generalise Object::Has and Object::Delete to arbitrary Value-typed keys. - Generalise some places in the API implementation from String to Name. It is not possible to intercept symbol-named properties. That is consistent with the idea that symbols are private and should not leak. R=svenpanne@chromium.org BUG=v8:2158 Review URL: https://codereview.chromium.org/13626002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14210 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
This moves the responsibility of putting a new context into a persistent handle to the embedder. Also it removes one API function where the copy constructor for persistent handles is needed. R=svenpanne@chromium.org Review URL: https://codereview.chromium.org/13799003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14203 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 09 Apr, 2013 1 commit
-
-
svenpanne@chromium.org authored
This is a refactoring of https://code.google.com/p/v8/source/detail?r=14146. Review URL: https://codereview.chromium.org/13940003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14171 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 05 Apr, 2013 1 commit
-
-
haraken@chromium.org authored
TEST=test-api.cc:GetCallingContextCallback Review URL: https://chromiumcodereview.appspot.com//13426002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14146 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 04 Apr, 2013 1 commit
-
-
mstarzinger@chromium.org authored
This turns the __proto__ callback from a foreign callback into a real JavaScript accessor. It makes the accessor behavior of this property explicit. R=rossberg@chromium.org BUG=v8:1949,v8:2606 TEST=mjsunit/regress/regress-2606 Review URL: https://codereview.chromium.org/13533004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14139 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 02 Apr, 2013 4 commits
-
-
yurys@chromium.org authored
Relanding r14006 and r14009 that were reverted in r14031 TBR=danno BUG=None Review URL: https://codereview.chromium.org/13460002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14108 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yurys@chromium.org authored
Re-landing r14005 that was reverted in r14031 TBR=danno BUG=None Review URL: https://codereview.chromium.org/13430003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14107 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yurys@chromium.org authored
Re-landing r13997 that was reverted in r14031 TBR=danno BUG=None Review URL: https://codereview.chromium.org/13458003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14106 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yurys@chromium.org authored
Re-landing r13980 that was reverted in r14031 TBR=danno BUG=None Review URL: https://codereview.chromium.org/13454002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14104 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 22 Mar, 2013 1 commit
-
-
rossberg@chromium.org authored
(qua last week's TC39) Specifically: - Install Symbol constructor function on the global object. - Adjust code generation for typeof. - Remove IsSymbol built-in, IS_SYMBOL macro now defined using typeof. - Remove hack that allowed symbols as constructor results, and some other special cases. - Remove symbol_delegate and GetDelegate function. - Extend ToBoolean stub to handle symbols. - Extend ToNumber to return NaN on symbols. - Poison symbol's toString function, and thereby ToString on symbols. R=mstarzinger@chromium.org BUG=v8:2158 Review URL: https://codereview.chromium.org/12957004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14051 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 21 Mar, 2013 2 commits
-
-
danno@chromium.org authored
Revert "Allow recording individual samples in addition to the aggregated CPU profiles" Revert "Isolatify CPU profiler" Revert "Isolatify HeapProfiler" Revert "Deprecate HeapSnapshot type" Revert "Isolatify CPU profiler public API" Revert "MSVS compilation fix after r14006" Revert "Add methods to allow resuming execution after calling TerminateExecution()." R=jkummerow@chromium.org,mstarzinger@chromium.org Review URL: https://codereview.chromium.org/12475016 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14031 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
Two new methods are added to allow embedders to determine that execution should be resumed at a particular point in the stack without being forced to unwind all JS frames. * V8::CancelTerminateExecution() -- When execution is terminated via a call to V8::TerminateExecution(), this method can be called to clear the termination exception so that the engine can continue to be used. * TryCatch::HasTerminated() -- When a TryCatch has caught a termination exception, HasTerminated() will return true to indicate it is valid to call V8::ResumeExecution() if desired. A test case is added to cctest/test-thread-termination.cc. BUG=v8:2361 Patch from Andrew Paprocki <andrew@ishiboo.com>. Review URL: https://chromiumcodereview.appspot.com/11142013 Patch from Andrew Paprocki <andrew@ishiboo.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14022 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 20 Mar, 2013 3 commits
-
-
yurys@chromium.org authored
BUG=None Review URL: https://codereview.chromium.org/12950004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14006 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yurys@chromium.org authored
There is only one type of heap snapshot - kFull and we are not going to add any new types. BUG=None Review URL: https://codereview.chromium.org/12943004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14005 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yurys@chromium.org authored
Added instance method on v8::Isolate for retrieving instance of v8::HeapProfiler for that isolate. All static methods of v8::HeapProfiler are deprecated, corresponding instance methods are added to v8::HeapProfiler. All static methods on v8::internal::HeapProfiler were converted into instance ones. BUG=None Review URL: https://codereview.chromium.org/12907006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13997 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 19 Mar, 2013 2 commits
-
-
yurys@chromium.org authored
BUG=None Review URL: https://codereview.chromium.org/12554013 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13990 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yurys@chromium.org authored
CPU profiler API is extended with methods that allow to retrieve individual samples from profile. Each sample is presented as a pointer to a node in the top-down profile tree. The samples will let us tie JS performance to time. BUG=None Review URL: https://codereview.chromium.org/12919002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13980 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 15 Mar, 2013 3 commits
-
-
alph@chromium.org authored
It has been decided not to pollute node types with extra values. Review URL: https://codereview.chromium.org//12833005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13959 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yurys@chromium.org authored
Bottom-up view of CPU profile can be restored based on top-down profile data. So there is no need to spend resources on creating both of them inside V8. BUG=None Review URL: https://codereview.chromium.org/12825003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13958 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
svenpanne@chromium.org authored
I tried to limit the use of v8::Isolate::GetCurrent() and v8::internal::Isolate::Current() as much as possible, but sometimes this would have involved restructuring tests quite a bit, which is better left for a separate CL. BUG=v8:2487 Review URL: https://codereview.chromium.org/12716010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13953 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 13 Mar, 2013 3 commits
-
-
dcarney@chromium.org authored
R=yangguo@chromium.org BUG= Review URL: https://codereview.chromium.org/12700008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13939 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
alph@chromium.org authored
Prevously v8 put a link to each context variable into a function where the variable is visible. Because of that if there are N functions sharing a context having M variables then N*M links were created for the snapshot. The fix makes v8 to put the links into the context object. BUG=145687 TEST=test-heap-snapshot/ManyLocalsInSharedContext Review URL: https://codereview.appspot.com/7715044 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13936 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
svenpanne@chromium.org authored
BUG=v8:2487 Review URL: https://codereview.chromium.org/12790004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13933 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 08 Mar, 2013 1 commit
-
-
svenpanne@chromium.org authored
Hopefully we will win the race this time... BUG=v8:2487 Review URL: https://codereview.chromium.org/12554004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13878 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 07 Mar, 2013 3 commits
-
-
ulan@chromium.org authored
R=svenpanne@chromium.org Review URL: https://chromiumcodereview.appspot.com/12493008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13862 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
dcarney@chromium.org authored
R=svenpanne@chromium.org BUG= Review URL: https://codereview.chromium.org/12297012 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13856 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
svenpanne@chromium.org authored
Review URL: https://codereview.chromium.org/12590003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13855 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 01 Mar, 2013 1 commit
-
-
rossberg@chromium.org authored
The new instance type 'Symbol' represents ES6 symbols (a.k.a. private/unique names). Currently, symbols are simple data objects that only carry a hash code, random-generated upon allocation. The new type 'Name' now serves as the common super class for strings and symbols, and is supposed to represent property names. We will eventually migrate APIs from String to Name for the standard key type. Strings and symbols share the same hash field representation, via the Name class. This way, we should be able to use the same code paths for symbols and internalized strings in most cases. Also, Symbol's instance type code is allocated adjacent to internalized string codes in the enum, allowing a simple range check for the common case. Baseline CL: https://codereview.chromium.org/12210083/ R=mstarzinger@chromium.org BUG= Review URL: https://codereview.chromium.org/12223071 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13783 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-