Index: src/runtime-profiler.cc |
=================================================================== |
--- src/runtime-profiler.cc (revision 9327) |
+++ src/runtime-profiler.cc (working copy) |
@@ -338,7 +338,8 @@ |
void RuntimeProfiler::RemoveDeadSamples() { |
for (int i = 0; i < kSamplerWindowSize; i++) { |
Object* function = sampler_window_[i]; |
- if (function != NULL && !HeapObject::cast(function)->IsMarked()) { |
+ if (function != NULL && |
+ !Marking::MarkBitFrom(HeapObject::cast(function)).Get()) { |
sampler_window_[i] = NULL; |
} |
} |