Revision: 23237
Author: [email protected]
Date: Wed Aug 20 14:20:59 2014 UTC
Log: Fix EstimateMarkingStepSizeTest.
[email protected]
[email protected]
BUG=
Review URL: https://codereview.chromium.org/494683002
http://code.google.com/p/v8/source/detail?r=23237
Modified:
/branches/bleeding_edge/src/heap/gc-idle-time-handler.cc
=======================================
--- /branches/bleeding_edge/src/heap/gc-idle-time-handler.cc Wed Aug 20
10:33:03 2014 UTC
+++ /branches/bleeding_edge/src/heap/gc-idle-time-handler.cc Wed Aug 20
14:20:59 2014 UTC
@@ -30,8 +30,9 @@
return INT_MAX;
}
- return static_cast<intptr_t>(marking_step_size *
- GCIdleTimeHandler::kConservativeTimeRatio);
+ return Min(static_cast<intptr_t>(marking_step_size *
+
GCIdleTimeHandler::kConservativeTimeRatio),
+ static_cast<intptr_t>(INT_MAX));
}
}
}
--
--
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.