[9] RFR(S): 8140327: segfault on solaris-amd64 with "-XX:CompilerThreadStackSize=1" option
Vladimir Kozlov
vladimir.kozlov at oracle.com
Fri Nov 13 21:38:15 UTC 2015
Range change is fine.
I see that a lot of flags are removed from testing because upper limit testing can cause OOM.
May be the test should be modified to at least test low limit for these flags. But it is an other RFE.
Thanks,
Vladimir
On 11/13/15 8:12 AM, Zoltán Majó wrote:
> Hi,
>
>
> please review the patch for 8140327.
>
> https://bugs.openjdk.java.net/browse/JDK-8140327
>
> Problem: The CompilerThreadStackSize flag gives the size of the compiler thread's stack in KB. The VM defines the range
> of the flag, but the upper limit of the flag is currently too high as it does not account for the size being specified
> in KB (and not in bytes).
>
> Another problem is that the TestOptionsWithRanges test attempts to start the VM with low/high values in the flag's
> range. That can cause the VM to crash. It is difficult to find a precise lower limit for the flag because (1) a lower
> limit is platform-dependent and (2) it can also change over time. The upper limit of the flag is also platform-dependent.
>
> Solution: Update the definition of the flag's range. Disable automatic testing for the flag in TestOptionWithRanges.
>
> Webrev:
> http://cr.openjdk.java.net/~zmajo/8140327/webrev.00/
>
> Testing: JPRT
>
> Thank you and best regards,
>
>
> Zoltan
>
More information about the hotspot-compiler-dev
mailing list