- 13 Jan, 2011 1 commit
-
-
antonm@chromium.org authored
On 32-bit platforms any pointer with 0 as LSB can be wrapped into Smi. However, on 64-bit platforms it's currently not the case as x64 Smis must have 0s in lower 32 bit word. Even worse, macroassembler Move instruction will try to fetch integer value from Smi and will shift by 32 bits to the right rendering stored pointer incorrect. BUG=v8:1037 Review URL: http://codereview.chromium.org/6119009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6301 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 11 Jan, 2011 1 commit
-
-
mikhail.naganov@gmail.com authored
I found it useful to know inside the heap profiler to avoid crashes due to heap overflow. Review URL: http://codereview.chromium.org/6111007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6266 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 04 Jan, 2011 1 commit
-
-
ager@chromium.org authored
BUG=v8:1016 Review URL: http://codereview.chromium.org/6013011 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6142 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Jan, 2011 1 commit
-
-
ager@chromium.org authored
Review URL: http://codereview.chromium.org/6043005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6130 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 17 Dec, 2010 1 commit
-
-
sgjesse@chromium.org authored
can be reset to allow DST / timezone changes to be re-cached and reflected in the Date object. Patch by Mark Lam from Hewlett-Packard Development Company, LP Review URL: http://codereview.chromium.org/5978001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6067 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 14 Dec, 2010 1 commit
-
-
erik.corry@gmail.com authored
and String::WriteAscii and add test. Correct implementation of String::Write, fixing bug 975 (the patch in that bug was not used, however). Review URL: http://codereview.chromium.org/5718005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6011 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 13 Dec, 2010 1 commit
-
-
mikhail.naganov@gmail.com authored
As taking a snapshot of a large heap takes noticeable time, it's good to be able to monitor and control it. The change itself is small, big code deletes and additions are in fact moves. The only significant change is simplification of approximated retained sizes calculation algorithm. Review URL: http://codereview.chromium.org/5687003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5978 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 08 Dec, 2010 1 commit
-
-
lrn@chromium.org authored
Changed implementation of pushback in preparer character stream. Removed assert that isn't satisfied by in test-cases, but only by the real code. Make preparser compile again. Review URL: http://codereview.chromium.org/5593004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5946 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 07 Dec, 2010 3 commits
-
-
kasperl@chromium.org authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5922 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kasperl@chromium.org authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5921 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kasperl@chromium.org authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5920 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 02 Dec, 2010 1 commit
-
-
mikhail.naganov@gmail.com authored
TEST=cctest/test-heap-profiler/HeapSnapshotGetNodeById Review URL: http://codereview.chromium.org/5537001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5914 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 29 Nov, 2010 1 commit
-
-
lrn@chromium.org authored
No scons target yet. Review URL: http://codereview.chromium.org/5295004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5899 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 25 Nov, 2010 1 commit
-
-
yurys@chromium.org authored
Review URL: http://codereview.chromium.org/5256004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5890 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 22 Nov, 2010 1 commit
-
-
mikhail.naganov@gmail.com authored
Approximation is done by building a dominators tree for the heap graph. Dominator nodes and retained sizes are serialized into JSON. Removed: - reachable size (it is useless, after all); - HeapEntryCalculatedData (size is now stored in the node, retaining paths in a hash map); Review URL: http://codereview.chromium.org/5154007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5867 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 18 Nov, 2010 2 commits
-
-
mikhail.naganov@gmail.com authored
TBR=sgjesse@chromium.org Review URL: http://codereview.chromium.org/5198003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5851 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mikhail.naganov@gmail.com authored
Otherwise, retaned memory sizes are not precise. This increases size of heap snapshot, I will deal with this later. Heap objects and references previously missing in snapshot are now marked as 'hidden'. That means, they not shown to user, but participate in sizes calculation. Other small changes: - added 'shortcut' graph edges: e.g. to pin global objects on top level; - meta-information in JSON snapshot is no more double encoded. Review URL: http://codereview.chromium.org/5139002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5849 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 15 Nov, 2010 1 commit
-
-
lrn@chromium.org authored
Made allocation.{h,cc} independent of V8, allowing utils.h to allocate vectors and collectors. Review URL: http://codereview.chromium.org/5005001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5826 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 10 Nov, 2010 1 commit
-
-
ager@chromium.org authored
Add 128MB limit for executable pages. BUG=http://code.google.com/p/v8/issues/detail?id=925 TEST=None. TBR=jschuh@chromium.org Review URL: http://codereview.chromium.org/4634003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5799 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 04 Nov, 2010 2 commits
-
-
lrn@chromium.org authored
Make include dir content pass lint. Review URL: http://codereview.chromium.org/4421002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5767 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
Review URL: http://codereview.chromium.org/4320004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5765 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 01 Nov, 2010 1 commit
-
-
serya@chromium.org authored
Refactoring of v8:Arguments similary we did with v8::AccessorInfo (http://codereview.chromium.org/242050). GC-controlled values moved to a separate array. Review URL: http://codereview.chromium.org/4117010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5746 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 21 Oct, 2010 1 commit
-
-
serya@chromium.org authored
Review URL: http://codereview.chromium.org/3792003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5689 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 18 Oct, 2010 1 commit
-
-
mikhail.naganov@gmail.com authored
HeapNumbers do consume memory, so it's worth dumping them. However, we don't dump their values, as they are not as self-descriptive as values of strings, and they will increase snapshot size. Storing heap numbers values can be added if we will feel a sufficient demand for that. InternalFields are used, e.g. for storing references to DOM nodes event handlers. Review URL: http://codereview.chromium.org/3769007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5635 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 13 Oct, 2010 1 commit
-
-
mikhail.naganov@gmail.com authored
I created a heap snapshot in Chromium, and then started comparing it side-by-side with representations of objects provided by the debugger, fixing discrepancies. Review URL: http://codereview.chromium.org/3590029 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5612 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 05 Oct, 2010 3 commits
-
-
vitalyr@chromium.org authored
TBR=ager@chromium.org Review URL: http://codereview.chromium.org/3547012 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5589 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
http://codereview.chromium.org/3585010/showvitalyr@chromium.org authored
Review URL: http://codereview.chromium.org/3613009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5588 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yurys@chromium.org authored
Review URL: http://codereview.chromium.org/3602013 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5586 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 04 Oct, 2010 1 commit
-
-
vitalyr@chromium.org authored
Review URL: http://codereview.chromium.org/3585010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5584 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 27 Sep, 2010 1 commit
-
-
podivilov@chromium.org authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5535 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 14 Sep, 2010 2 commits
-
-
mikhail.naganov@gmail.com authored
It's a good idea to allow receiver to interrupt data transmission. Review URL: http://codereview.chromium.org/3409002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5452 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mikhail.naganov@gmail.com authored
to avoid storing serialized snapshot on VM, instead it is emitted using output stream interface. The size of JSON emitted is roughly equal to used heap size (when stored as an ASCII string). Now a whole heap snapshot can be serialized and transmitted outside VM. This makes possible: - implementing non-async UI for heap snapshots inspection; - storing heap snapshots for further inspection; - remote profiling (we can even implement a snapshotting mode where a snapshot isn't even stored in VM, only transmitted -- good for mobile devices); - creating tools for outside heap snapshots processing, e.g. converting to HPROF. Review URL: http://codereview.chromium.org/3311028 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5450 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Sep, 2010 1 commit
-
-
sgjesse@chromium.org authored
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
-
- 18 Aug, 2010 2 commits
-
-
antonm@chromium.org authored
Review URL: http://codereview.chromium.org/3164022 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5302 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mikhail.naganov@gmail.com authored
This is intended for smoother migration to the new API in Chromium. Also, aggregated heap snapshots can be used for cheaply obtaining heap statistics, e.g. in tests. Review URL: http://codereview.chromium.org/3124024 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5297 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 16 Aug, 2010 1 commit
-
-
antonm@chromium.org authored
Review URL: http://codereview.chromium.org/3143015 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5271 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 10 Aug, 2010 2 commits
-
-
antonm@chromium.org authored
Eventually indexed property query callbacks will return attributes (as an integer) or an empty handle if property is not intercepted. To gradually migrate to this new API, USE_NEW_QUERY_CALLBACK macro would control if old or new style API is used. So the migration plan is: 1) introduce new API which should be explictily enabled; 2) switch to new API defining USE_NEW_QUERY_CALLBACK before include of <v8.h> (that would require changes to client code as well) 3) remove old API from v8 4) remove #define USE_NEW_QUERY_CALLBACK from clients. BUG=http://code.google.com/p/v8/issues/detail?id=816 Review URL: http://codereview.chromium.org/3101001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5228 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
antonm@chromium.org authored
Patch by Vlad Burlik. Review URL: http://codereview.chromium.org/3064051 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5227 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 09 Aug, 2010 1 commit
-
-
mikhail.naganov@gmail.com authored
The size of a snapshot is now 65-80% of the JS heap size (tested on GMail and Wave), previously it was >200%. BUG=783 Review URL: http://codereview.chromium.org/3060008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5211 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 19 Jul, 2010 1 commit
-
-
antonm@chromium.org authored
If object enters NEAR_DEATH state, it must be explicitly cleared and/or disposed, otherwise it would retain JS object forever. Note as well that parameter is reset to NULL on first invocation so weak handle callback would be in hard situation. Review URL: http://codereview.chromium.org/3011009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5096 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-