Reviewers: Hannes Payer,

Message:
PTAL. Thanks!

Description:
just a typo

BUG=

Please review this at https://codereview.chromium.org/809303004/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+3, -3 lines):
  M src/heap/heap.h
  M src/heap/heap.cc
  M src/heap/incremental-marking.cc


Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index cf67dab2b406ade3d21c99059e3a6b405aebe8dd..0b817e4d6d0c9222539d448ae138529da57d9d9d 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -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();
Index: src/heap/heap.h
diff --git a/src/heap/heap.h b/src/heap/heap.h
index 30271313e9b0e1b98edb7f9f10cfaad8b5bd70f1..e6ccf2eaec745bca3c07feb701ca56debcc3c25c 100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -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).
Index: src/heap/incremental-marking.cc
diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc index 33f9de0da4b977903103f5fbbaae1bb6b1340e82..aadd17c94bd58be4f570dacb15ff6d5b71d3ac0d 100644
--- a/src/heap/incremental-marking.cc
+++ b/src/heap/incremental-marking.cc
@@ -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;
   }



--
--
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.

Reply via email to