mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
6999491: non-zero COOPs are used when they should not
HeapBaseMinAddress should be used only for a default heap size calculation. Reviewed-by: iveresov, jcoomes, dholmes
This commit is contained in:
parent
22c924061d
commit
d563b15558
2 changed files with 14 additions and 4 deletions
|
@ -864,7 +864,8 @@ jint Universe::initialize_heap() {
|
|||
// compressed oops for pstack code.
|
||||
if (PrintCompressedOopsMode) {
|
||||
tty->cr();
|
||||
tty->print("heap address: "PTR_FORMAT, Universe::heap()->base());
|
||||
tty->print("heap address: " PTR_FORMAT ", size: " SIZE_FORMAT " MB",
|
||||
Universe::heap()->base(), Universe::heap()->reserved_region().byte_size()/M);
|
||||
}
|
||||
if ((uint64_t)Universe::heap()->reserved_region().end() > OopEncodingHeapMax) {
|
||||
// Can't reserve heap below 32Gb.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue