Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp @ 12233:40136aa2cdb1
8010722: assert: failed: heap size is too big for compressed oops
Summary: Use conservative assumptions of required alignment for the various garbage collector components into account when determining the maximum heap size that supports compressed oops. Using this conservative value avoids several circular dependencies in the calculation.
Reviewed-by: stefank, dholmes
author | tschatzl |
---|---|
date | Wed, 11 Sep 2013 16:25:02 +0200 |
parents | f175e3678be2 |
children | a19bea467577 190899198332 |
comparison
equal
deleted
inserted
replaced
12230:040895ec3920 | 12233:40136aa2cdb1 |
---|---|
2189 _g1mm = new G1MonitoringSupport(this); | 2189 _g1mm = new G1MonitoringSupport(this); |
2190 | 2190 |
2191 return JNI_OK; | 2191 return JNI_OK; |
2192 } | 2192 } |
2193 | 2193 |
2194 size_t G1CollectedHeap::conservative_max_heap_alignment() { | |
2195 return HeapRegion::max_region_size(); | |
2196 } | |
2197 | |
2194 void G1CollectedHeap::ref_processing_init() { | 2198 void G1CollectedHeap::ref_processing_init() { |
2195 // Reference processing in G1 currently works as follows: | 2199 // Reference processing in G1 currently works as follows: |
2196 // | 2200 // |
2197 // * There are two reference processor instances. One is | 2201 // * There are two reference processor instances. One is |
2198 // used to record and process discovered references | 2202 // used to record and process discovered references |