[9] RFR (S): 8150839: Adjust the number of compiler threads for 32-bit platforms
Zoltán Majó
zoltan.majo at oracle.com
Fri Mar 4 07:36:10 UTC 2016
Thank you for the review, Igor!
Best regards,
Zoltan
On 03/03/2016 05:28 PM, Igor Veresov wrote:
> Seems reasonable. Reviewed.
>
> igor
>
>> On Mar 3, 2016, at 7:40 AM, Zoltán Majó <zoltan.majo at oracle.com> wrote:
>>
>> Hi,
>>
>>
>> please review the patch for 8150839.
>>
>> https://bugs.openjdk.java.net/browse/JDK-8150839
>>
>> Problem: If the VM is executed on a machine with a large number of cores, it will create a large number of compiler threads. For example, on a 24-core machine, the VM will create 12 compiler threads (8 C2 compiler threads + 4 C1 compiler threads).
>>
>> On 32-bit platforms the virtual memory available to processes is typically limited to 2-4GB. As a result, the VM is likely to exhaust the virtual memory address space on these platforms and crash.
>>
>>
>> Solution: This patch proposes to set the number of compiler threads to 3 on 32-bit platforms (2 C2 threads and 1 C1 thread), unless the user decides differently. On 64-bit platforms, the number of compiler threads is still set according to the number of available cores.
>>
>> Webrev:
>> http://cr.openjdk.java.net/~zmajo/8150839/webrev.00/
>>
>> Testing: JPRT.
>>
>> Thank you!
>>
>> Best regards,
>>
>>
>> Zoltan
>>
More information about the hotspot-compiler-dev
mailing list