Merge "Avoid redundant Long allocation before unboxing"