[9] RFR(S): 8140327: segfault on solaris-amd64 with "-XX:CompilerThreadStackSize=1" option

Zoltán Majó zoltan.majo at oracle.com
Fri Nov 13 16:12:23 UTC 2015


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