Fix race between post fork initialization and JIT. am: a67daeba97
am: bb9dda8649

Change-Id: Idb949cacc92b117f5d2bd5e26aeb2fd32727d2cf