Revision: 20610
Author: [email protected]
Date: Wed Apr 9 12:21:20 2014 UTC
Log: Use no barrier size accessor in FreeListCategory::SumFreeList.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/230613002
http://code.google.com/p/v8/source/detail?r=20610
Modified:
/branches/bleeding_edge/src/spaces.cc
=======================================
--- /branches/bleeding_edge/src/spaces.cc Tue Apr 8 16:31:57 2014 UTC
+++ /branches/bleeding_edge/src/spaces.cc Wed Apr 9 12:21:20 2014 UTC
@@ -2491,7 +2491,7 @@
while (cur != NULL) {
ASSERT(cur->map() == cur->GetHeap()->raw_unchecked_free_space_map());
FreeSpace* cur_as_free_space = reinterpret_cast<FreeSpace*>(cur);
- sum += cur_as_free_space->Size();
+ sum += cur_as_free_space->nobarrier_size();
cur = cur->next();
}
return sum;
--
--
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.