RFR (S): 8165226: Bad -Xloggc: arguments crashes the VM
marcus.larsson at oracle.com
Tue Sep 6 12:52:12 UTC 2016
On 09/06/2016 02:44 PM, Dmitry Samersoff wrote:
> Looks good for me.
> On 2016-09-06 15:33, Marcus Larsson wrote:
>> Please review the following patch to fix a VM crash when
>> LogConfiguration::parse_log_arguments() is called with a null pointer as
>> the error stream.
>> LogConfiguration::parse_log_arguments() expects an outputStream to
>> report errors on. Passing NULL works as long as no error occurs, but
>> crashes the VM in case UL fails to configure the specified output.
>> Usages of parse_log_arguments have been modified to pass an appropriate
>> stream, and an assert checking for NULL has been added. Callers that use
>> parse_log_arguments for configuration of stdout have been changed to use
>> the more appropriate configure_stdout() instead.
>> JPRT testset hotspot
More information about the hotspot-runtime-dev