Reviewers: Hannes Payer,
Message:
PTAL
Description:
Keep CodeRange::current_allocation_block_index_ in range after r21869.
BUG=305878,388328
LOG=N
Please review this at https://codereview.chromium.org/354003003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+1, -1 lines):
M src/spaces.cc
Index: src/spaces.cc
diff --git a/src/spaces.cc b/src/spaces.cc
index
72a0222ba454d6c77d7bd8c714095bcee72100c8..194f75dfbfa56e0c3498cb83f63ade07df0596eb
100644
--- a/src/spaces.cc
+++ b/src/spaces.cc
@@ -193,7 +193,7 @@ bool CodeRange::GetNextAllocationBlock(size_t
requested) {
return true; // Found a large enough allocation block.
}
}
-
+ current_allocation_block_index_ = 0;
// Code range is full or too fragmented.
return false;
}
--
--
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.