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

changeset 1844
cff162798819
parent 1280
df6caf649ff7
child 1907
c18cbe5936b8
equal deleted inserted replaced
1843:615a9d95d265 1844:cff162798819
515 size_t index = *index_; 515 size_t index = *index_;
516 516
517 assert(blk_start != NULL && blk_end > blk_start, 517 assert(blk_start != NULL && blk_end > blk_start,
518 "phantom block"); 518 "phantom block");
519 assert(blk_end > threshold, "should be past threshold"); 519 assert(blk_end > threshold, "should be past threshold");
520 assert(blk_start <= threshold, "blk_start should be at or before threshold") 520 assert(blk_start <= threshold, "blk_start should be at or before threshold");
521 assert(pointer_delta(threshold, blk_start) <= N_words, 521 assert(pointer_delta(threshold, blk_start) <= N_words,
522 "offset should be <= BlockOffsetSharedArray::N"); 522 "offset should be <= BlockOffsetSharedArray::N");
523 assert(Universe::heap()->is_in_reserved(blk_start), 523 assert(Universe::heap()->is_in_reserved(blk_start),
524 "reference must be into the heap"); 524 "reference must be into the heap");
525 assert(Universe::heap()->is_in_reserved(blk_end-1), 525 assert(Universe::heap()->is_in_reserved(blk_end-1),

mercurial