1.1 --- a/src/share/vm/gc_implementation/shared/mutableNUMASpace.cpp Tue Jun 01 11:48:33 2010 -0700 1.2 +++ b/src/share/vm/gc_implementation/shared/mutableNUMASpace.cpp Wed Jun 02 22:45:42 2010 -0700 1.3 @@ -761,7 +761,7 @@ 1.4 1.5 if (p != NULL) { 1.6 size_t remainder = s->free_in_words(); 1.7 - if (remainder < (size_t)oopDesc::header_size() && remainder > 0) { 1.8 + if (remainder < CollectedHeap::min_fill_size() && remainder > 0) { 1.9 s->set_top(s->top() - size); 1.10 p = NULL; 1.11 } 1.12 @@ -803,7 +803,7 @@ 1.13 HeapWord *p = s->cas_allocate(size); 1.14 if (p != NULL) { 1.15 size_t remainder = pointer_delta(s->end(), p + size); 1.16 - if (remainder < (size_t)oopDesc::header_size() && remainder > 0) { 1.17 + if (remainder < CollectedHeap::min_fill_size() && remainder > 0) { 1.18 if (s->cas_deallocate(p, size)) { 1.19 // We were the last to allocate and created a fragment less than 1.20 // a minimal object.