comparison src/share/vm/runtime/os.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 c636758ea616
children 179cd89fb279
comparison
equal deleted inserted replaced
12230:040895ec3920 12233:40136aa2cdb1
312 } 312 }
313 } 313 }
314 } 314 }
315 } 315 }
316 316
317 void os::init_before_ergo() {
318 // We need to initialize large page support here because ergonomics takes some
319 // decisions depending on large page support and the calculated large page size.
320 large_page_init();
321 }
317 322
318 void os::signal_init() { 323 void os::signal_init() {
319 if (!ReduceSignalUsage) { 324 if (!ReduceSignalUsage) {
320 // Setup JavaThread for processing signals 325 // Setup JavaThread for processing signals
321 EXCEPTION_MARK; 326 EXCEPTION_MARK;