mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8010722: assert: failed: heap size is too big for compressed oops
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
This commit is contained in:
parent
6b12e05140
commit
962008f22b
22 changed files with 363 additions and 42 deletions
|
@ -314,6 +314,11 @@ static void signal_thread_entry(JavaThread* thread, TRAPS) {
|
|||
}
|
||||
}
|
||||
|
||||
void os::init_before_ergo() {
|
||||
// We need to initialize large page support here because ergonomics takes some
|
||||
// decisions depending on large page support and the calculated large page size.
|
||||
large_page_init();
|
||||
}
|
||||
|
||||
void os::signal_init() {
|
||||
if (!ReduceSignalUsage) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue