comparison src/share/vm/gc_implementation/shared/mutableNUMASpace.cpp @ 628:7bb995fbd3c0

Merge
author trims
date Thu, 12 Mar 2009 18:16:36 -0700
parents 0fbdb4381b99 98cb887364d3
children c18cbe5936b8 2d127394260e
comparison
equal deleted inserted replaced
580:ce2272390558 628:7bb995fbd3c0
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) {