[
https://issues.apache.org/jira/browse/FELIX-5136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15054915#comment-15054915
]
ASF GitHub Bot commented on FELIX-5136:
---------------------------------------
GitHub user CodingFabian opened a pull request:
https://github.com/apache/felix/pull/46
FELIX-5136 Improve startup performance and memory consumption of Dire…
…ctoryWatcher
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/CodingFabian/felix
optimizeDirectoryWatcherStartup
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/felix/pull/46.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #46
----
commit 1ed6bc19f3e69c49af90ed17b789fa19b31d40f3
Author: Fabian Lange <[email protected]>
Date: 2015-12-13T11:20:10Z
FELIX-5136 Improve startup performance and memory consumption of
DirectoryWatcher
----
> Felix Fileinstall temp dir generation is inefficient
> ----------------------------------------------------
>
> Key: FELIX-5136
> URL: https://issues.apache.org/jira/browse/FELIX-5136
> Project: Felix
> Issue Type: Bug
> Components: File Install
> Affects Versions: fileinstall-3.5.0
> Reporter: Fabian Lange
>
> If no tmpDir is set, DirectoryWatcher will use a SecureRandom to find a free
> temp dir.
> This is ineffcient, because SecureRandom needs warmup time.
> Additionally DirectoryWatcher wil unncessarily hold on to java.io.tmpdir and
> the secure random after intitialization.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)