72 // that should be filled with dead objects to ensure parseability. |
72 // that should be filled with dead objects to ensure parseability. |
73 void MutableNUMASpace::ensure_parsability() { |
73 void MutableNUMASpace::ensure_parsability() { |
74 for (int i = 0; i < lgrp_spaces()->length(); i++) { |
74 for (int i = 0; i < lgrp_spaces()->length(); i++) { |
75 LGRPSpace *ls = lgrp_spaces()->at(i); |
75 LGRPSpace *ls = lgrp_spaces()->at(i); |
76 MutableSpace *s = ls->space(); |
76 MutableSpace *s = ls->space(); |
77 if (s->top() < top()) { // For all spaces preceeding the one containing top() |
77 if (s->top() < top()) { // For all spaces preceding the one containing top() |
78 if (s->free_in_words() > 0) { |
78 if (s->free_in_words() > 0) { |
79 size_t area_touched_words = pointer_delta(s->end(), s->top()); |
79 size_t area_touched_words = pointer_delta(s->end(), s->top()); |
80 CollectedHeap::fill_with_object(s->top(), area_touched_words); |
80 CollectedHeap::fill_with_object(s->top(), area_touched_words); |
81 #ifndef ASSERT |
81 #ifndef ASSERT |
82 if (!ZapUnusedHeapArea) { |
82 if (!ZapUnusedHeapArea) { |