harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeroen Frijters" <jer...@sumatra.nl>
Subject RE: NullPointerException
Date Mon, 20 Mar 2006 14:34:29 GMT
Mikhail Loenko wrote:
> My experiments have shown that additional check for null is 
> insignificant while accessing time of a null address is
> substantial.

That in itself is not enough to base any conclusions on. You also need
to know the ratio between the exception between thrown and not being
thrown.

The extra bytecode (or jitted machine code) may very well cause
additional paging (due to increased memory pressure) and that has to be
factored in as well.

Regards,
Jeroen


Mime
View raw message