- 07 Dec, 2012 1 commit
-
-
mstarzinger@chromium.org authored
This patch adds the following three metrics for the --trace_gc_nvp option. nodes_died_in_new_space_; // Number of died nodes in the new space. nodes_copied_in_new_space_; // Number of copied nodes to the new space. nodes_promoted; // Number of promoted nodes to the old space. BUG= TEST=Manually confirmed that the "--trace_gc --trace_gc_nvp" option prints the metrics Review URL: https://codereview.chromium.org/11365146 Patch from Kentaro Hara <haraken@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13159 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 04 Dec, 2012 1 commit
-
-
mstarzinger@chromium.org authored
This unifies the iteration logic of objects groups iteration in global handles. The scavenger as well as mark-and-compact now rely on the same underlying logic. R=ulan@chromium.org Review URL: https://codereview.chromium.org/11299248 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13128 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 06 Nov, 2012 1 commit
-
-
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
-
- 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
-
- 07 Mar, 2012 1 commit
-
-
vegorov@chromium.org authored
It turns out that an increasing number of persistent handles is a good signal for bugs in the bindings layer BUG=none TEST=cctest/test-heap-profiler/PersistentHandleCount Review URL: https://chromiumcodereview.appspot.com/9620007 Patch from Jochen Eisinger <jochen@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10960 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 06 Jun, 2011 2 commits
-
-
vitalyr@chromium.org authored
(I also reordered functions in the .cc file to match the order in the .h file.) R=antonm@chromium.org Review URL: http://codereview.chromium.org/7056068 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8188 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vitalyr@chromium.org authored
We used to have a linked list of nodes that were internally block-allocated. I kept the node blocks and put them on two lists: 1) the list of all allocated blocks, 2) the list of blocks with used nodes. (1) is used to reclaim blocks and (2) is used for traversal during GC. To make traversal on scavenges faster the nodes holding new space objects are grouped in an auxiliary array. This changes the minimal memory usage from 5 words per global handle to 4. Additional word is used for new space handles. Review URL: http://codereview.chromium.org/7054072 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8186 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 17 May, 2011 1 commit
-
-
vegorov@chromium.org authored
Garbage collector is free to ignore object groups for independent handles and can collect then in minor collections. Review URL: http://codereview.chromium.org/7031005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7915 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 May, 2011 1 commit
-
-
kmillikin@chromium.org authored
Try to make sure that accessors.h, data-flow.h, list-inl.h, and scopeinfo.h are included only where needed, but without introducing implicit dependencies. Review URL: http://codereview.chromium.org/6903175 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7756 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 12 Apr, 2011 1 commit
-
-
vitalyr@chromium.org authored
Review URL: http://codereview.chromium.org/6813101 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7578 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 07 Apr, 2011 1 commit
-
-
ricow@chromium.org authored
Review URL: http://codereview.chromium.org/6810021 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7547 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 06 Apr, 2011 1 commit
-
-
vitalyr@chromium.org authored
We can only call malloc/free once per group and we can avoid scanning through a list of NULLs if we keep unprocessed groups in the beginning. I also changed the internal representation of implicit references to hold a handle to the parent (instead of a direct pointer). The prologue callback must not trigger a GC, but it's better to be safe. Review URL: http://codereview.chromium.org/6800003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7521 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 18 Mar, 2011 3 commits
-
-
vitalyr@chromium.org authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7271 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vitalyr@chromium.org authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7269 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vitalyr@chromium.org authored
Review URL: http://codereview.chromium.org/6685088 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7268 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 16 Mar, 2011 1 commit
-
-
antonm@chromium.org authored
Those are necessary to properly manage relationship between objects in cases when they don't form proper tree structure. Review URL: http://codereview.chromium.org/6686053 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7202 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 10 Mar, 2011 1 commit
-
-
mikhail.naganov@gmail.com authored
objects retained by object groups and global handles. This information is then used during heap snapshot generation to provide a more complete memory picture. This patch will be needed to fix https://bugs.webkit.org/show_bug.cgi?id=53659. Review URL: http://codereview.chromium.org/6626043 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7125 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Nov, 2010 1 commit
-
-
antonm@chromium.org authored
Currently weak handles retain an object for another GC round (oftem times, major GC round.) Instrumenting Chromium shows that navigation leaves many global objects which are only collected in next go. Let's attempt to collect more garbage when approacing OOM condition. This is a better version of rolled out r5455: now it's correctly rebuilds object groups between additional GCs. Review URL: http://codereview.chromium.org/4295004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5761 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 21 Oct, 2010 1 commit
-
-
ager@chromium.org authored
before panicking with out of memory. TBR=antonm@chromium.org Review URL: http://codereview.chromium.org/4034002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5681 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 14 Sep, 2010 1 commit
-
-
antonm@chromium.org authored
Currently weak handles retain an object for another GC round (oftem times, major GC round.) Instrumenting Chromium shows that navigation leaves many global objects which are only collected in next go. Let's attempt to collect more garbage when approacing OOM condition. Review URL: http://codereview.chromium.org/3327021 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5455 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Dec, 2009 1 commit
-
-
christian.plesner.hansen@gmail.com authored
struct on fatal out of memory. This should cause the information to be included in minidumps so we can get a better idea of the state of v8 on OOMs. Review URL: http://codereview.chromium.org/462019 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3406 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 11 Nov, 2009 1 commit
-
-
lrn@chromium.org authored
Set warning level to /W3 and change implicit conversions from size_t to int. Most "fixes" are simply manifesting the implicit casts or using a special strlen replacement that returns int. Review URL: http://codereview.chromium.org/390004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3273 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 05 Nov, 2009 1 commit
-
-
christian.plesner.hansen@gmail.com authored
Review URL: http://codereview.chromium.org/355041 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3230 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 26 Oct, 2009 1 commit
-
-
antonm@chromium.org authored
Review URL: http://codereview.chromium.org/327008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3128 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 15 Oct, 2009 1 commit
-
-
mikhail.naganov@gmail.com authored
Turned on with '--log-producers' flag, also needs '--noinline-new' (this is temporarily), '--log-code', '--log-gc'. Not all allocations are traced (I'm investigating.) Stacks are stored using weak handles. Thus, when an object is collected, its allocation stack is deleted. Review URL: http://codereview.chromium.org/267077 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3069 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 25 May, 2009 1 commit
-
-
mikhail.naganov@gmail.com authored
This issue was raised by Brett Wilson while reviewing my changelist for readability. Craig Silverstein (one of C++ SG maintainers) confirmed that we should declare one namespace per line. Our way of namespaces closing seems not violating style guides (there is no clear agreement on it), so I left it intact. Review URL: http://codereview.chromium.org/115756 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2038 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 05 May, 2009 1 commit
-
-
kmillikin@chromium.org authored
table debacle. Review URL: http://codereview.chromium.org/109012 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1856 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 11 Dec, 2008 1 commit
-
-
deanm@chromium.org authored
The main goal was to improve O(n^2) behavior when there are many object groups. The old API required the grouping to be done on the v8 side, along with a linear search. The new interface requires the caller to do the grouping, passing V8 entire groups at a time. This removes the group id concept on the v8 side. - Changed AddObjectToGroup to AddObjectGroup. - Removed the group id concept from the V8 side. - Remove a static constructor while I'm here, lazily initialize the object groups list. - Cleaned up return by non-const references to return pointers. Review URL: http://codereview.chromium.org/13341 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@965 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 09 Sep, 2008 1 commit
-
-
christian.plesner.hansen@gmail.com authored
Added presubmit step to check copyright. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@242 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Jul, 2008 1 commit
-
-
christian.plesner.hansen authored
git-svn-id: http://v8.googlecode.com/svn/trunk@2 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-