Remove deadlock path between InteractionJankMonitor and FrameTracker
A deadlock path is found: - FrameTracker$1.lambda$surfaceDestroyed (held A) - InteractionJankMonitor.end (held B) -> FrameTracker.end (wait for A) - FrameTracker.end -> InteractionJankMonitor.handleCujEvents (wait for B) This cl resolves this by using a single lock among monitor and tracker. Bug: 197804653 Test: atest InteractionJankMonitorTest --rerun-until-failure 100 Test: atest FrameTrackerTest --rerun-until-failure 100 Change-Id: Ia6aa196370bdb51b8a5c84c74a3d174a3d4b689f
Loading
Please register or sign in to comment