Commit 8cb08cdc authored by yunchao.he's avatar yunchao.he Committed by Commit bot

just a typo

BUG=

Review URL: https://codereview.chromium.org/809303004

Cr-Commit-Position: refs/heads/master@{#25961}
parent 818340a4
...@@ -4611,7 +4611,7 @@ bool Heap::IdleNotification(double deadline_in_seconds) { ...@@ -4611,7 +4611,7 @@ bool Heap::IdleNotification(double deadline_in_seconds) {
} }
bool Heap::RecentIdleNotifcationHappened() { bool Heap::RecentIdleNotificationHappened() {
return (last_idle_notification_time_ + return (last_idle_notification_time_ +
GCIdleTimeHandler::kMaxFrameRenderingIdleTime) > GCIdleTimeHandler::kMaxFrameRenderingIdleTime) >
MonotonicallyIncreasingTimeInMs(); MonotonicallyIncreasingTimeInMs();
......
...@@ -1298,7 +1298,7 @@ class Heap { ...@@ -1298,7 +1298,7 @@ class Heap {
int gc_count() const { return gc_count_; } int gc_count() const { return gc_count_; }
bool RecentIdleNotifcationHappened(); bool RecentIdleNotificationHappened();
// Completely clear the Instanceof cache (to stop it keeping objects alive // Completely clear the Instanceof cache (to stop it keeping objects alive
// around a GC). // around a GC).
......
...@@ -891,7 +891,7 @@ intptr_t IncrementalMarking::Step(intptr_t allocated_bytes, ...@@ -891,7 +891,7 @@ intptr_t IncrementalMarking::Step(intptr_t allocated_bytes,
// If an idle notification happened recently, we delay marking steps. // If an idle notification happened recently, we delay marking steps.
if (marking == DO_NOT_FORCE_MARKING && if (marking == DO_NOT_FORCE_MARKING &&
heap_->RecentIdleNotifcationHappened()) { heap_->RecentIdleNotificationHappened()) {
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment