RFR (S): 8165226: Bad -Xloggc: arguments crashes the VM
dmitry.samersoff at oracle.com
Tue Sep 6 12:44:03 UTC 2016
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
Oracle Java development team, Saint Petersburg, Russia
* I would love to change the world, but they won't give me the sources.
More information about the hotspot-runtime-dev