Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove unnecessary synchronization around Tablet.closeState #1037
The Tablet class has a closeState variable and a family of associated methods that read it. These methods are synchronized and this seems to be unnecessary because the variable is volatile. The synchronization has a sharp edge as seen in #1031. Need to analyze the usage of all the methods and ensure it safe to remove synchronization and if so remove it.