Mercurial > hg > truffle
comparison src/os/bsd/vm/os_bsd.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 2bd38d594b9a |
comparison
equal
deleted
inserted
replaced
12230:040895ec3920 | 12233:40136aa2cdb1 |
---|---|
3586 #ifndef PRODUCT | 3586 #ifndef PRODUCT |
3587 if(Verbose && PrintMiscellaneous) | 3587 if(Verbose && PrintMiscellaneous) |
3588 tty->print("[Memory Serialize Page address: " INTPTR_FORMAT "]\n", (intptr_t)mem_serialize_page); | 3588 tty->print("[Memory Serialize Page address: " INTPTR_FORMAT "]\n", (intptr_t)mem_serialize_page); |
3589 #endif | 3589 #endif |
3590 } | 3590 } |
3591 | |
3592 os::large_page_init(); | |
3593 | 3591 |
3594 // initialize suspend/resume support - must do this before signal_sets_init() | 3592 // initialize suspend/resume support - must do this before signal_sets_init() |
3595 if (SR_initialize() != 0) { | 3593 if (SR_initialize() != 0) { |
3596 perror("SR_initialize failed"); | 3594 perror("SR_initialize failed"); |
3597 return JNI_ERR; | 3595 return JNI_ERR; |