Commit b20edd77 authored by erikcorry's avatar erikcorry Committed by Commit bot

Relax assert a little to fix flake on regress-3976

R=verwaest@chromium.org
NOTRY=true
BUG=

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

Cr-Commit-Position: refs/heads/master@{#27515}
parent e6459674
...@@ -5656,7 +5656,7 @@ void Heap::PrintHandles() { ...@@ -5656,7 +5656,7 @@ void Heap::PrintHandles() {
class CheckHandleCountVisitor : public ObjectVisitor { class CheckHandleCountVisitor : public ObjectVisitor {
public: public:
CheckHandleCountVisitor() : handle_count_(0) {} CheckHandleCountVisitor() : handle_count_(0) {}
~CheckHandleCountVisitor() { CHECK(handle_count_ < 1000); } ~CheckHandleCountVisitor() { CHECK(handle_count_ < 2000); }
void VisitPointers(Object** start, Object** end) { void VisitPointers(Object** start, Object** end) {
handle_count_ += end - start; handle_count_ += end - start;
} }
......
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