comparison src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp @ 237:1fdb98a17101

6716785: implicit null checks not triggering with CompressedOops Summary: allocate alignment-sized page(s) below java heap so that memory accesses at heap_base+1page give signal and cause an implicit null check Reviewed-by: kvn, jmasa, phh, jcoomes
author coleenp
date Sat, 19 Jul 2008 17:38:22 -0400
parents 9c2ecc2ffb12
children 850fdf70db2b
comparison
equal deleted inserted replaced
235:9c2ecc2ffb12 237:1fdb98a17101
420 if (vspace != 0) { 420 if (vspace != 0) {
421 if (vspace->expand_by(bytes)) { 421 if (vspace->expand_by(bytes)) {
422 return vspace; 422 return vspace;
423 } 423 }
424 delete vspace; 424 delete vspace;
425 // Release memory reserved in the space.
426 rs.release();
425 } 427 }
426 428
427 return 0; 429 return 0;
428 } 430 }
429 431