comparison src/share/vm/gc_implementation/g1/g1MarkSweep.cpp @ 7448:b735136e0d82

8004132: SerialGC: ValidateMarkSweep broken when running GCOld Summary: Remove bit-rotten ValidateMarkSweep functionality and flag. Reviewed-by: johnc, jmasa Contributed-by: tamao <tao.mao@oracle.com>
author johnc
date Wed, 02 Jan 2013 11:32:41 -0800
parents 8966c2d65d96
children a08c80e9e1e5
comparison
equal deleted inserted replaced
7447:1de1b145f6bc 7448:b735136e0d82
280 bool doHeapRegion(HeapRegion* r) { 280 bool doHeapRegion(HeapRegion* r) {
281 if (r->isHumongous()) { 281 if (r->isHumongous()) {
282 if (r->startsHumongous()) { 282 if (r->startsHumongous()) {
283 // We must adjust the pointers on the single H object. 283 // We must adjust the pointers on the single H object.
284 oop obj = oop(r->bottom()); 284 oop obj = oop(r->bottom());
285 debug_only(GenMarkSweep::track_interior_pointers(obj));
286 // point all the oops to the new location 285 // point all the oops to the new location
287 obj->adjust_pointers(); 286 obj->adjust_pointers();
288 debug_only(GenMarkSweep::check_interior_pointers());
289 } 287 }
290 } else { 288 } else {
291 // This really ought to be "as_CompactibleSpace"... 289 // This really ought to be "as_CompactibleSpace"...
292 r->adjust_pointers(); 290 r->adjust_pointers();
293 } 291 }