[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


please review the patch for 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.


Testing: JPRT

Thank you and best regards,


More information about the hotspot-compiler-dev mailing list