[v8-dev] Re: Add mode to reduce memory usage in idle notification. (issue 1105293004 by u...@chromium.org)

2015-05-10 Thread erik . corry
This is in Canary 2396 It is referenced from https://code.google.com/p/chromium/issues/detail?id=486005 https://codereview.chromium.org/1105293004/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed

[v8-dev] Re: Add mode to reduce memory usage in idle notification. (issue 1105293004 by u...@chromium.org)

2015-05-07 Thread commit-bot
Patchset 8 (id:??) landed as https://crrev.com/ae6a0b807574d4349be9c45428960ac7ecd3679a Cr-Commit-Position: refs/heads/master@{#28300} https://codereview.chromium.org/1105293004/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this messag

[v8-dev] Re: Add mode to reduce memory usage in idle notification. (issue 1105293004 by u...@chromium.org)

2015-05-07 Thread commit-bot
Committed patchset #8 (id:140001) https://codereview.chromium.org/1105293004/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and

[v8-dev] Re: Add mode to reduce memory usage in idle notification. (issue 1105293004 by u...@chromium.org)

2015-05-07 Thread commit-bot
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1105293004/140001 https://codereview.chromium.org/1105293004/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subsc

[v8-dev] Re: Add mode to reduce memory usage in idle notification. (issue 1105293004 by u...@chromium.org)

2015-05-07 Thread erik . corry
lgtm https://codereview.chromium.org/1105293004/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from

[v8-dev] Re: Add mode to reduce memory usage in idle notification. (issue 1105293004 by u...@chromium.org)

2015-05-07 Thread ulan
https://codereview.chromium.org/1105293004/diff/11/src/heap/gc-idle-time-handler.cc File src/heap/gc-idle-time-handler.cc (right): https://codereview.chromium.org/1105293004/diff/11/src/heap/gc-idle-time-handler.cc#newcode199 src/heap/gc-idle-time-handler.cc:199: // if can_start_incremen

[v8-dev] Re: Add mode to reduce memory usage in idle notification. (issue 1105293004 by u...@chromium.org)

2015-05-07 Thread hpayer
https://codereview.chromium.org/1105293004/diff/11/src/heap/gc-idle-time-handler.h File src/heap/gc-idle-time-handler.h (right): https://codereview.chromium.org/1105293004/diff/11/src/heap/gc-idle-time-handler.h#newcode152 src/heap/gc-idle-time-handler.h:152: static const int kGCsBeforeM

[v8-dev] Re: Add mode to reduce memory usage in idle notification. (issue 1105293004 by u...@chromium.org)

2015-05-06 Thread erik . corry
https://codereview.chromium.org/1105293004/diff/11/src/heap/gc-idle-time-handler.cc File src/heap/gc-idle-time-handler.cc (right): https://codereview.chromium.org/1105293004/diff/11/src/heap/gc-idle-time-handler.cc#newcode199 src/heap/gc-idle-time-handler.cc:199: // if can_start_incremen

[v8-dev] Re: Add mode to reduce memory usage in idle notification. (issue 1105293004 by u...@chromium.org)

2015-05-06 Thread ulan
Thank you for reviewing! I uploaded new PS. https://codereview.chromium.org/1105293004/diff/11/src/heap/gc-idle-time-handler.cc File src/heap/gc-idle-time-handler.cc (right): https://codereview.chromium.org/1105293004/diff/11/src/heap/gc-idle-time-handler.cc#newcode198 src/heap/gc-idle-

[v8-dev] Re: Add mode to reduce memory usage in idle notification. (issue 1105293004 by u...@chromium.org)

2015-05-05 Thread erik . corry
https://codereview.chromium.org/1105293004/diff/11/src/heap/gc-idle-time-handler.cc File src/heap/gc-idle-time-handler.cc (right): https://codereview.chromium.org/1105293004/diff/11/src/heap/gc-idle-time-handler.cc#newcode198 src/heap/gc-idle-time-handler.cc:198: // In kReduceLatency mod

[v8-dev] Re: Add mode to reduce memory usage in idle notification. (issue 1105293004 by u...@chromium.org)

2015-05-05 Thread hpayer
We would have to move the counters to heap, and add them to the HeapState to make testing nice. Well, we probably don't have to go all the way. The test you wrote look fine. So, fine with me. LGTM, with just one nit. FYI Ross, this CL removes kMaxNoProgressIdleTimesPerIdleRound and goes to

[v8-dev] Re: Add mode to reduce memory usage in idle notification. (issue 1105293004 by u...@chromium.org)

2015-05-05 Thread ulan
Thanks, I uploaded new PS. Please add unit tests for the helper functions like NextMode. This is tested as part of the public interface (the Compute function). To test the private functions separately, we would need to expose the private state and allow setting the mode and counters outside

[v8-dev] Re: Add mode to reduce memory usage in idle notification. (issue 1105293004 by u...@chromium.org)

2015-05-04 Thread hpayer
Looking good overall. Please run the smoothness test to see if we tank latency. Please add unit tests for the helper functions like NextMode. https://codereview.chromium.org/1105293004/diff/80001/src/heap/gc-idle-time-handler.cc File src/heap/gc-idle-time-handler.cc (right): https://coderevie