On Fri, 26 Apr 2024 11:49:19 GMT, Claes Redestad <redes...@openjdk.org> wrote:

> > Does removing the explicit null checks make that much difference for 
> > performance? They are kind of nice for clarity.
> 
> It helps startup at least. The redundant array depth check mattered a bit for 
> peak performance, but not much. I don't have a strong opinion really, just 
> find them a bit superfluous when there's a dereference on the next line.

Sure, I'm mostly talking about cases where the value is passed to another 
method.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/18971#issuecomment-2079249354

Reply via email to