| Index: src/heap/heap.cc
|
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc
|
| index dbe7cc27b8d3f93df974e008c71847d9dd3c50db..df1ba3129f859c61163561df1e709de6d1b2dd4a 100644
|
| --- a/src/heap/heap.cc
|
| +++ b/src/heap/heap.cc
|
| @@ -5977,7 +5977,7 @@ void Heap::PrintHandles() {
|
| class CheckHandleCountVisitor : public ObjectVisitor {
|
| public:
|
| CheckHandleCountVisitor() : handle_count_(0) {}
|
| - ~CheckHandleCountVisitor() { CHECK(handle_count_ < 2000); }
|
| + ~CheckHandleCountVisitor() { CHECK_LT(handle_count_, 2000); }
|
| void VisitPointers(Object** start, Object** end) {
|
| handle_count_ += end - start;
|
| }
|
|
|