Fields AquaFileSystemModel.fileCache and AquaFileSystemModel.FilesLoader.queuedTasks are accessed only under synchronized(fileCacheLock). It means extract synchronization by Vector is not needed.
------------- Commit messages: - [PATCH] Unnecessary Vector usage in AquaFileSystemModel - [PATCH] Unnecessary Vector usage in AquaFileSystemModel Changes: https://git.openjdk.java.net/jdk/pull/5568/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5568&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8274497 Stats: 8 lines in 1 file changed: 0 ins; 0 del; 8 mod Patch: https://git.openjdk.java.net/jdk/pull/5568.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/5568/head:pull/5568 PR: https://git.openjdk.java.net/jdk/pull/5568