RFR: 8274497: Unnecessary Vector usage in AquaFileSystemModel

Sergey Bylokhov serb at openjdk.java.net
Fri Oct 1 02:42:33 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.

Marked as reviewed by serb (Reviewer).

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

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



More information about the client-libs-dev mailing list