mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
This commit is contained in:
parent
680ecf1611
commit
4a831d45f0
273 changed files with 6585 additions and 2993 deletions
|
@ -3116,7 +3116,7 @@ jint os::init_2(void) {
|
|||
// as reserve size, since on a 64-bit platform we'll run into that more
|
||||
// often than running out of virtual memory space. We can use the
|
||||
// lower value of the two calculations as the os_thread_limit.
|
||||
size_t max_address_space = ((size_t)1 << (BitsPerOop - 1)) - (200 * K * K);
|
||||
size_t max_address_space = ((size_t)1 << (BitsPerWord - 1)) - (200 * K * K);
|
||||
win32::_os_thread_limit = (intx)(max_address_space / actual_reserve_size);
|
||||
|
||||
// at exit methods are called in the reverse order of their registration.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue