it's not about a deep optimization. That test shows you that you can freely write more readable code and it will be fast.  
the winner if(a == null) a = new Object();

don't use a||=new Object(); a = a || new Object(), because it looks like |\||\|\+_)+_)(_(*(^&(*&%&*^%$%^$   :D