comparison src/os/solaris/vm/os_solaris.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 4c84d351cca9
children cefad50507d8 c250880a6673 2b8e28fdf503 5656140324ed
comparison
equal deleted inserted replaced
12230:040895ec3920 12233:40136aa2cdb1
5176 5176
5177 #ifndef PRODUCT 5177 #ifndef PRODUCT
5178 if(Verbose && PrintMiscellaneous) 5178 if(Verbose && PrintMiscellaneous)
5179 tty->print("[Memory Serialize Page address: " INTPTR_FORMAT "]\n", (intptr_t)mem_serialize_page); 5179 tty->print("[Memory Serialize Page address: " INTPTR_FORMAT "]\n", (intptr_t)mem_serialize_page);
5180 #endif 5180 #endif
5181 } 5181 }
5182
5183 os::large_page_init();
5184 5182
5185 // Check minimum allowable stack size for thread creation and to initialize 5183 // Check minimum allowable stack size for thread creation and to initialize
5186 // the java system classes, including StackOverflowError - depends on page 5184 // the java system classes, including StackOverflowError - depends on page
5187 // size. Add a page for compiler2 recursion in main thread. 5185 // size. Add a page for compiler2 recursion in main thread.
5188 // Add in 2*BytesPerWord times page size to account for VM stack during 5186 // Add in 2*BytesPerWord times page size to account for VM stack during