Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp @ 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 | f7d3b4387a16 |
children | 190899198332 d55c004e1d4d |
comparison
equal
deleted
inserted
replaced
12230:040895ec3920 | 12233:40136aa2cdb1 |
---|---|
1090 // Initialize the G1CollectedHeap to have the initial and | 1090 // Initialize the G1CollectedHeap to have the initial and |
1091 // maximum sizes and remembered and barrier sets | 1091 // maximum sizes and remembered and barrier sets |
1092 // specified by the policy object. | 1092 // specified by the policy object. |
1093 jint initialize(); | 1093 jint initialize(); |
1094 | 1094 |
1095 // Return the (conservative) maximum heap alignment for any G1 heap | |
1096 static size_t conservative_max_heap_alignment(); | |
1097 | |
1095 // Initialize weak reference processing. | 1098 // Initialize weak reference processing. |
1096 virtual void ref_processing_init(); | 1099 virtual void ref_processing_init(); |
1097 | 1100 |
1098 void set_par_threads(uint t) { | 1101 void set_par_threads(uint t) { |
1099 SharedHeap::set_par_threads(t); | 1102 SharedHeap::set_par_threads(t); |