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

changeset 706
818a18cd69a8
parent 698
12eea04c8b06
child 772
9ee9cf798b59
     1.1 --- a/src/share/vm/gc_implementation/shared/spaceDecorator.cpp	Mon Jul 28 15:30:23 2008 -0700
     1.2 +++ b/src/share/vm/gc_implementation/shared/spaceDecorator.cpp	Wed Jul 30 11:54:00 2008 -0700
     1.3 @@ -39,7 +39,8 @@
     1.4  
     1.5  void SpaceMangler::set_top_for_allocations(HeapWord* v)  {
     1.6    if (v < end()) {
     1.7 -    assert(is_mangled(v), "The high water mark is not mangled");
     1.8 +    assert(!CheckZapUnusedHeapArea || is_mangled(v),
     1.9 +      "The high water mark is not mangled");
    1.10    }
    1.11    _top_for_allocations = v;
    1.12  }

mercurial