--- old/src/share/vm/gc_implementation/g1/heapRegion.inline.hpp 2014-08-05 10:04:47.864562546 +0200 +++ new/src/share/vm/gc_implementation/g1/heapRegion.inline.hpp 2014-08-05 10:04:47.752562551 +0200 @@ -94,7 +94,7 @@ inline bool HeapRegion::block_is_obj(const HeapWord* p) const { G1CollectedHeap* g1h = G1CollectedHeap::heap(); - if (G1ClassUnloadingEnabled) { + if (ClassUnloadingWithConcurrentMark) { return !g1h->is_obj_dead(oop(p), this); } return p < top(); @@ -110,7 +110,7 @@ return oop(addr)->size(); } - assert(G1ClassUnloadingEnabled, + assert(ClassUnloadingWithConcurrentMark, err_msg("All blocks should be objects if G1 Class Unloading isn't used. " "HR: ["PTR_FORMAT", "PTR_FORMAT", "PTR_FORMAT") " "addr: " PTR_FORMAT,