• T
    7112912: Message "Error occurred during initialization of VM" on boxes with lots of RAM · d9cc1e05
    tschatzl 提交于
    Summary: Ergonomics now also takes available virtual memory into account when deciding for a heap size. The helper method to determine the maximum allocatable memory block now uses the appropriate OS specific calls to retrieve available virtual memory for the java process. In 32 bit environments this method now also searches for the maximum actually reservable amount of memory. Merge previously separate implementations for Linux/BSD/Solaris into a single method.
    Reviewed-by: jmasa, tamao
    d9cc1e05
os_bsd.cpp 143.3 KB