Doug Lea wrote: >maximize the probability that they'll eventually >get a CME or related exception rather than a stuck loop. Yes, but I was only considering removing logically not needed null checks, just before dereferencing the pointer, and I don't see how it could (directly, i.e. without wrapping catch(NPE)) hurt: If the pointer is not null, it has no effect. If the pointer is null, a NPE will be thrown so no stuck loop. On the contrary, it could even help with a NPE getting us out of an otherwise infinite loop. -Jeff
- RFR 8005698 : Handle Frequent HashMap Collisions with Bala... Brent Christian
- Re: RFR 8005698 : Handle Frequent HashMap Collisions ... Brent Christian
- Re: RFR 8005698 : Handle Frequent HashMap Collisi... Doug Lea
- Re: RFR 8005698 : Handle Frequent HashMap Col... Brent Christian
- Re: RFR 8005698 : Handle Frequent HashMap... Jeff Hain
- Re: RFR 8005698 : Handle Frequent Ha... Doug Lea
- Re: RFR 8005698 : Handle Frequen... Jeff Hain
- Re: RFR 8005698 : Handle Frequen... Doug Lea
- Re: RFR 8005698 : Handle Frequent HashMap... Peter Levart
- Re: RFR 8005698 : Handle Frequent Ha... Doug Lea
- Re: RFR 8005698 : Handle Frequen... Peter Levart
- Re: RFR 8005698 : Handle Fre... Doug Lea
- Re: RFR 8005698 : Handle Fre... Alan Bateman
- Re: RFR 8005698 : Handle Fre... Doug Lea
- Re: RFR 8005698 : Handle Frequent HashMap... Doug Lea
- Re: RFR 8005698 : Handle Frequent Ha... Brent Christian
- Re: RFR 8005698 : Handle Frequen... Mike Duigou