src/share/vm/gc_implementation/shared/spaceDecorator.cpp

changeset 706
818a18cd69a8
parent 698
12eea04c8b06
child 772
9ee9cf798b59
equal deleted inserted replaced
704:850fdf70db2b 706:818a18cd69a8
37 } 37 }
38 38
39 39
40 void SpaceMangler::set_top_for_allocations(HeapWord* v) { 40 void SpaceMangler::set_top_for_allocations(HeapWord* v) {
41 if (v < end()) { 41 if (v < end()) {
42 assert(is_mangled(v), "The high water mark is not mangled"); 42 assert(!CheckZapUnusedHeapArea || is_mangled(v),
43 "The high water mark is not mangled");
43 } 44 }
44 _top_for_allocations = v; 45 _top_for_allocations = v;
45 } 46 }
46 47
47 // Mangle only the unused space that has not previously 48 // Mangle only the unused space that has not previously

mercurial