ART: Add FlushInstructionPipeline()
Use membarrier(MEMBARRIER_CMD_PRIVATE_EXPEDITED), where available, to flush CPU instruction pipelines after JIT code cache updates. This is needed on architectures where TLB updates do not require a TLB shootdown. Bug: 65312375 Bug: 66095511 Bug: 111199492 Test: manual (requires kernel >= 4.16). Change-Id: I96811c611133ba765a546a09432c0c951ad39e10
Loading
Please sign in to comment