Merge "Revert "RegisterNativeAllocation: Avoid case of double blocking gc.""
am: a774575ae3

Change-Id: I2f0adb9053386e729915f37251504ce0cd5ac5da