< prev index next >
src/java.base/share/classes/java/nio/file/spi/FileSystemProvider.java
Print this page
8213406: (fs) More than one instance of built-in FileSystem observed in heap
Reviewed-by: alanb, cushon, weijun
*** 99,109 ****
* The {@link #newFileSystem newFileSystem} method may be used to create a file
* system, and the {@link #getFileSystem getFileSystem} method may be used to
* obtain a reference to an existing file system created by the provider. Where
* a provider is the factory for a single file system then it is provider dependent
* if the file system is created when the provider is initialized, or later when
! * the {@code newFileSystem} method is invoked. In the case of the default
* provider, the {@code FileSystem} is created when the provider is initialized.
*
* <p> All of the methods in this class are safe for use by multiple concurrent
* threads.
*
--- 99,109 ----
* The {@link #newFileSystem newFileSystem} method may be used to create a file
* system, and the {@link #getFileSystem getFileSystem} method may be used to
* obtain a reference to an existing file system created by the provider. Where
* a provider is the factory for a single file system then it is provider dependent
* if the file system is created when the provider is initialized, or later when
! * the {@code newFileSystem} method is invoked. In the case of the system-default
* provider, the {@code FileSystem} is created when the provider is initialized.
*
* <p> All of the methods in this class are safe for use by multiple concurrent
* threads.
*
< prev index next >