- 21 Nov, 2012 1 commit
-
-
svenpanne@chromium.org authored
In addition, use a more common style in the preprocessor condition, making e.g. '-DV8_ENABLE_DEPRECATIONS=0' do the expected thing. Removed a useles Review URL: https://codereview.chromium.org/11413113 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13024 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 13 Nov, 2012 1 commit
-
-
svenpanne@chromium.org authored
Review URL: https://codereview.chromium.org/11365224 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12945 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 09 Nov, 2012 1 commit
-
-
svenpanne@chromium.org authored
Fixed visibility attribute for GetPointerFromInternalField Heavy cleanup of the external pointer API. Review URL: https://codereview.chromium.org/11359125 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12911 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 08 Nov, 2012 1 commit
-
-
mstarzinger@chromium.org authored
BUG= TEST=cctest/test-api/IndependentWeakHandle Review URL: https://codereview.chromium.org/11369131 Patch from Kentaro Hara <haraken@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12904 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 06 Nov, 2012 3 commits
-
-
mstarzinger@chromium.org authored
A design document: https://docs.google.com/a/google.com/document/d/16DeHrzkm3cO9XCPT1aK3Y5qgUxXB3RFmueqQWYmN2rI/edit Performance & memory results: https://docs.google.com/a/google.com/document/d/1h0-EsHu7T0sSMuZm5eE0r1e8sCAzY3weLvsDUpOSngE/edit The WebKit side patch: https://bugs.webkit.org/show_bug.cgi?id=98725 At present no one is using the V8 APIs this patch is going to add. After this patch is landed, the WebKit side patch will use it. BUG= Review URL: https://codereview.chromium.org/11085015 Patch from Kentaro Hara <haraken@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12874 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
This requires adding a new JSObject to the strong root list and populating it from object-observe.js. The main other change is that we now directly use ObjectHashTable from JS rather than using WeakMap, since using the latter would end up leaking whichever Context initialized that observation state. Added a test via the API showing that different contexts all end up working on the same state. Review URL: https://codereview.chromium.org/11274014 Patch from Adam Klein <adamk@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12873 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
svenpanne@chromium.org authored
TBR=verwaest@chromium.org Review URL: https://codereview.chromium.org/11312099 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12868 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 05 Nov, 2012 3 commits
-
-
mstarzinger@chromium.org authored
BUG= TEST=cctest/test-api/IndependentWeakHandle Committed: https://code.google.com/p/v8/source/detail?r=12852 Review URL: https://codereview.chromium.org/11368053 Patch from Kentaro Hara <haraken@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12854 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
BUG= TEST=cctest/test-api/IndependentWeakHandle Review URL: https://codereview.chromium.org/11368053 Patch from Kentaro Hara <haraken@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12852 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
svenpanne@chromium.org authored
Added highly efficient Object::SetAlignedPointerInInternalField and Object::GetAlignedPointerFromInternalField functions for 2-byte-aligned pointers. Their non-aligned counterparts Object::GetPointerFromInternalField and Object::SetPointerInInternalField are now deprecated utility functions. External is now a true Value again, with New/Value/Cast using a JSObject with an internal field containing a Foreign. External::Wrap, and External::Unwrap are now deprecated utility functions. Added Context::GetEmbedderData and Context::SetEmbedderData. Deprecated Context::GetData and Context::SetData, these are now only wrappers to access internal field 0. Added highly efficient Context::SetAlignedPointerInEmbedderData and Context::GetAlignedPointerFromEmbedderData functions for 2-byte-aligned pointers. Review URL: https://codereview.chromium.org/11190050 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12849 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 02 Nov, 2012 1 commit
-
-
yangguo@chromium.org authored
BUG= Review URL: https://chromiumcodereview.appspot.com/11340010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12841 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 22 Oct, 2012 1 commit
-
-
mstarzinger@chromium.org authored
The patch introduces CommittedPhysicalMemory function to the Heap class that reports committed *physical* memory acquired for the heap from the OS. It is important because some OSes may defer actual committment on e.g. first access to the region. So reporting just plain committed size led to various weird artifacts like showing V8 allocated memory higher than the whole process private size. BUG=v8:2191 Review URL: https://codereview.chromium.org/11066118 Patch from Alexei Filippov <alph@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12793 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 19 Oct, 2012 2 commits
-
-
danno@chromium.org authored
In WebKit, we have a small integer cache because calling v8::Integer::New is slow. This patch adds a faster API for creating integers that requires the caller to supply the v8::Isolate, saving us the work of looking up the isolate in thread-local storage. BUG= Review URL: https://codereview.chromium.org/11212004 Patch from Adam Barth <abarth@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12773 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
BUG= Review URL: https://chromiumcodereview.appspot.com/11014017 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12768 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 18 Oct, 2012 1 commit
-
-
svenpanne@chromium.org authored
This API lets the embedder enumerate handles that have class ids. WebKit will use this feature during garbage collection to compute object groups for DOM nodes. Previously, we kept a list of DOM nodes on the WebKit side, but that list is redundant with the global handles list in V8. Review URL: https://codereview.chromium.org/11190011 Patch from Adam Barth <abarth@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12750 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 05 Oct, 2012 1 commit
-
-
rossberg@chromium.org authored
R=mstarzinger@chromium.org BUG=v8:2322 Review URL: https://codereview.chromium.org/11035054 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12668 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 01 Oct, 2012 1 commit
-
-
mstarzinger@chromium.org authored
Original message: Implement committed physical memory stats for Linux. This had to be reverted because it crashes when compiled into Chromium due to the sandbox not allowing the mincore call. R=verwaest@chromium.org BUG=v8:2191 Review URL: https://codereview.chromium.org/11023010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12640 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 27 Sep, 2012 1 commit
-
-
mstarzinger@chromium.org authored
The patch introduces CommittedPhysicalMemory function to the Heap class that reports committed *physical* memory acquired from the OS. It is important because some OSes may postpone actual commitment on e.g. first access to the previously committed region. So reporting just plain committed size led to various weird artifacts like DevTools showing V8 allocated memory higher than the whole process private size. BUG=v8:2191 Review URL: https://codereview.chromium.org/10961042 Patch from Alexei Filippov <alph@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12625 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 17 Sep, 2012 1 commit
-
-
ulan@chromium.org authored
BUG=140191 R=svenpanne@chromium.org,mkwst@chromium.org Review URL: https://chromiumcodereview.appspot.com/10837358 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12525 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 14 Sep, 2012 1 commit
-
-
danno@chromium.org authored
In WebKit, we would like to store a void* to a data structure that contains lots of exciting per-context data. The current API restricts us to storing only Strings, which is less useful. I've also cleaned up the implementation of GetData to be less convoluted. Review URL: https://codereview.chromium.org/10907189 Patch from Adam Barth <abarth@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12520 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 12 Sep, 2012 1 commit
-
-
yangguo@chromium.org authored
BUG= Review URL: https://chromiumcodereview.appspot.com/10917211 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12488 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 10 Sep, 2012 1 commit
-
-
yangguo@chromium.org authored
BUG= Review URL: https://chromiumcodereview.appspot.com/10875072 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12472 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 07 Sep, 2012 1 commit
-
-
svenpanne@chromium.org authored
It is necessary to explicitly handle the internal frame lying between the caller of the getter and the getter itself in the deoptimizer: When the getter is inlined, leaving the internal frame restores the correct context. BUG=http://crbug/134609 TEST=mjsunit/regress/regress-crbug-134609 Review URL: https://chromiumcodereview.appspot.com/10910110 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12470 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 04 Sep, 2012 1 commit
-
-
yangguo@chromium.org authored
BUG= Review URL: https://chromiumcodereview.appspot.com/10905075 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12438 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Sep, 2012 1 commit
-
-
yangguo@chromium.org authored
BUG= Review URL: https://chromiumcodereview.appspot.com/10857030 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12430 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 31 Aug, 2012 1 commit
-
-
yangguo@chromium.org authored
BUG= Review URL: https://chromiumcodereview.appspot.com/10837290 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12416 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 29 Aug, 2012 2 commits
-
-
loislo@chromium.org authored
BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10892033 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12410 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
R=ulan@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/10897027 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12406 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 28 Aug, 2012 1 commit
-
-
jkummerow@chromium.org authored
BUG=None TEST=Included in CL. Committed: https://code.google.com/p/v8/source/detail?r=12389 Review URL: https://chromiumcodereview.appspot.com/10795074 Patch from Sigurður Ásgeirsson <siggi@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12401 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 27 Aug, 2012 3 commits
-
-
verwaest@chromium.org authored
Revert "Add a new API V8::SetJitCodeEventHandler to push code name and location to users such as profilers." This reverts commit r12389. TBR=jkummerow@chromium.org, CC=siggi@chromium.org Review URL: https://chromiumcodereview.appspot.com/10870108 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12390 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
BUG=None TEST=Included in CL. Review URL: https://chromiumcodereview.appspot.com/10795074 Patch from Sigurður Ásgeirsson <siggi@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12389 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
rossberg@chromium.org authored
They are yet unused; actual allocation of global lexical bindings in these contexts is implemented in a separate follow-up CL. R=svenpanne@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/10876067 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12384 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 24 Aug, 2012 1 commit
-
-
yangguo@chromium.org authored
Extensions are a source of external strings where we don't perform check yet. R=ulan@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/10878025 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12379 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 17 Aug, 2012 1 commit
-
-
svenpanne@chromium.org authored
Highlights of this CL: * Introduced a new opcode in the deoptimizer for a setter stub frame. * Added a global setter stub for returning after deoptimizing a setter. * We do not need special deopt support for getters, although the getter stub creates an internal frame. The normal machinery works just right for this case, although we generate a stack that can never occur during normal fullcode execution. If this hurts us one day, we can parameterize and reuse the setter deopt machinery. Review URL: https://chromiumcodereview.appspot.com/10855098 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12328 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 26 Jul, 2012 1 commit
-
-
yangguo@chromium.org authored
R=yangguo@chromium.org BUG=v8:2016, v8:2017 TEST= Review URL: https://chromiumcodereview.appspot.com/10823034 Patch from James Pike <g00gle@chilon.net>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12199 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 23 Jul, 2012 1 commit
-
-
yangguo@chromium.org authored
The PRESERVE_ASCII_NULL option prevents WriteAscii from converting \0 to white space. R=verwaest@chromium.org BUG=v8:2252 TEST=test-api/StringWrite Review URL: https://chromiumcodereview.appspot.com/10810056 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12174 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 17 Jul, 2012 1 commit
-
-
danno@chromium.org authored
Exposes a new API; V8::SetFunctionEntryHook. If a non-NULL function entry hook is set, the code generator(s) will invoke on the entry hook at the very start of each generated function. Committed: https://code.google.com/p/v8/source/detail?r=12069 Committed: https://code.google.com/p/v8/source/detail?r=12083 Review URL: https://chromiumcodereview.appspot.com/10706002 Patch from Sigurður Ásgeirsson <siggi@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12107 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 13 Jul, 2012 2 commits
-
-
danno@chromium.org authored
TBR=mstarzinger@chromium.org Review URL: https://chromiumcodereview.appspot.com/10695206 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12084 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
Exposes a new API; V8::SetFunctionEntryHook. If a non-NULL function entry hook is set, the code generator(s) will invoke on the entry hook at the very start of each generated function. Committed: https://code.google.com/p/v8/source/detail?r=12069 Review URL: https://chromiumcodereview.appspot.com/10706002 Patch from Sigurður Ásgeirsson <siggi@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12083 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 12 Jul, 2012 1 commit
-
-
danno@chromium.org authored
Reverted due to waterfall failures TBR=mstarzinger@chromium.org Review URL: https://chromiumcodereview.appspot.com/10704189 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12070 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-