Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/parallelScavenge/parMarkBitMap.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 | d1605aabd0a1 |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
235:9c2ecc2ffb12 | 237:1fdb98a17101 |
---|---|
59 _region_start = 0; | 59 _region_start = 0; |
60 _region_size = 0; | 60 _region_size = 0; |
61 if (_virtual_space != NULL) { | 61 if (_virtual_space != NULL) { |
62 delete _virtual_space; | 62 delete _virtual_space; |
63 _virtual_space = NULL; | 63 _virtual_space = NULL; |
64 // Release memory reserved in the space. | |
65 rs.release(); | |
64 } | 66 } |
65 return false; | 67 return false; |
66 } | 68 } |
67 | 69 |
68 #ifdef ASSERT | 70 #ifdef ASSERT |