Java Concurrency Troubleshooting: Data Access and Consistency