[
https://issues.apache.org/jira/browse/FELIX-5136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet resolved FELIX-5136.
------------------------------------
Resolution: Fixed
Assignee: Guillaume Nodet
Fix Version/s: fileinstall-3.5.2
Committing to https://svn.apache.org/repos/asf/felix/trunk ...
M
fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
Committed r1720091
> 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
> Assignee: Guillaume Nodet
> Fix For: fileinstall-3.5.2
>
>
> 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)