src/share/vm/gc_implementation/g1/g1BlockOffsetTable.cpp

changeset 6992
2c6ef90f030a
parent 6987
9441d22e429a
child 7050
6701abbc4441
     1.1 --- a/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.cpp	Tue Jul 01 09:03:55 2014 +0200
     1.2 +++ b/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.cpp	Mon Jul 07 10:12:40 2014 +0200
     1.3 @@ -426,7 +426,7 @@
     1.4        q = n;
     1.5        oop obj = oop(q);
     1.6        if (obj->klass_or_null() == NULL) return q;
     1.7 -      n += obj->size();
     1.8 +      n += block_size(q);
     1.9      }
    1.10      assert(q <= next_boundary && n > next_boundary, "Consequence of loop");
    1.11      // [q, n) is the block that crosses the boundary.

mercurial