[9] RFR (S): 8150839: Adjust the number of compiler threads for 32-bit platforms
Igor Veresov
igor.veresov at oracle.com
Thu Mar 3 16:28:52 UTC 2016
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