RFR: 8274497: Unnecessary Vector usage in AquaFileSystemModel

Pankaj Bansal pbansal at openjdk.java.net
Fri Oct 1 06:55:31 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 good to me

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

Marked as reviewed by pbansal (Reviewer).

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



More information about the client-libs-dev mailing list