Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
androidx.metrics
module used: 1.0.0-beta01androidx.metrics
version used: 1.0.0-beta01Devices/Android versions reproduced on: Various
The example
JankStatsAggregator
class can produceConcurrentModificationException
for listeners that perform some additional operations on it. Presumably because of how FrameData objects are internally mutated.It appears that there's something internal to the library causing this.
JankStatsAggregator.issueJankReport
attempts to account for that with copies, but it was suggested thatFor example:
This usage results in rare concurrency exceptions.