RFR: 8274497: Unnecessary Vector usage in AquaFileSystemModel

Sergey Bylokhov serb at openjdk.java.net
Wed Sep 29 08:49:04 UTC 2021


On Fri, 17 Sep 2021 20:32:00 GMT, Andrey Turbanov <github.com+741251+turbanoff at openjdk.org> wrote:

> Fields AquaFileSystemModel.fileCache and AquaFileSystemModel.FilesLoader.queuedTasks are accessed only under synchronized(fileCacheLock).
> It means extract synchronization by Vector is not needed.

Looks fine, please update the copyright year.

-------------

PR: https://git.openjdk.java.net/jdk/pull/5568



More information about the client-libs-dev mailing list