just a typo
BUG= Review URL: https://codereview.chromium.org/809303004 Cr-Commit-Position: refs/heads/master@{#25961}
This commit is contained in:
parent
818340a410
commit
8cb08cdc4e
@ -4611,7 +4611,7 @@ bool Heap::IdleNotification(double deadline_in_seconds) {
|
||||
}
|
||||
|
||||
|
||||
bool Heap::RecentIdleNotifcationHappened() {
|
||||
bool Heap::RecentIdleNotificationHappened() {
|
||||
return (last_idle_notification_time_ +
|
||||
GCIdleTimeHandler::kMaxFrameRenderingIdleTime) >
|
||||
MonotonicallyIncreasingTimeInMs();
|
||||
|
@ -1298,7 +1298,7 @@ class Heap {
|
||||
|
||||
int gc_count() const { return gc_count_; }
|
||||
|
||||
bool RecentIdleNotifcationHappened();
|
||||
bool RecentIdleNotificationHappened();
|
||||
|
||||
// Completely clear the Instanceof cache (to stop it keeping objects alive
|
||||
// around a GC).
|
||||
|
@ -891,7 +891,7 @@ intptr_t IncrementalMarking::Step(intptr_t allocated_bytes,
|
||||
|
||||
// If an idle notification happened recently, we delay marking steps.
|
||||
if (marking == DO_NOT_FORCE_MARKING &&
|
||||
heap_->RecentIdleNotifcationHappened()) {
|
||||
heap_->RecentIdleNotificationHappened()) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user