You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Fabian Lange (JIRA)" <ji...@apache.org> on 2015/12/13 12:19:46 UTC

[jira] [Created] (FELIX-5136) Felix Fileinstall temp dir generation is inefficient

Fabian Lange created FELIX-5136:
-----------------------------------

             Summary: 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)