https://codereview.chromium.org/750813003/diff/310001/src/heap/gc-idle-time-handler.cc
File src/heap/gc-idle-time-handler.cc (right):
https://codereview.chromium.org/750813003/diff/310001/src/heap/gc-idle-time-handler.cc#newcode192
src/heap/gc-idle-time-handler.cc:192: GCIdleTimeAction
GCIdleTimeHandler::Compute(double idle_time_in_ms,
On 2014/11/26 11:35:41, rmcilroy wrote:
Maybe just keep this as a size_t since you cast it to size_t whenever
you use it
here.
Nope, idle_time_in_ms can be negative in the deadline based approach. I
think I will do a cleanup cl that makes the time representation uniform.
https://codereview.chromium.org/750813003/diff/310001/src/heap/heap.cc
File src/heap/heap.cc (right):
https://codereview.chromium.org/750813003/diff/310001/src/heap/heap.cc#newcode4460
src/heap/heap.cc:4460:
static_cast<double>(base::Time::kMillisecondsPerSecond));
On 2014/11/26 11:35:41, rmcilroy wrote:
nit - would be good to have a helper for
MonotonicallyIncreasingTimeInMs() (in
Platform?) instead of doing this each time.
Done.
https://codereview.chromium.org/750813003/
--
--
v8-dev mailing list
[email protected]
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 it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.