This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 252064 - Slow deleting java application.
Summary: Slow deleting java application.
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-24 07:50 UTC by Alexander Simon
Modified: 2015-04-24 08:15 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
profiling snapshot (131.44 KB, application/octet-stream)
2015-04-24 07:52 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2015-04-24 07:50:49 UTC
Steps to reproduce:
- create Java application in home dir.
- delete the application with sources.
While deleting IDE asks several times "exist" for not existing files.
See example of log:

WARNING [org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager]: 1,558 ms in new File("/home/nbproject/project.xml").exists()
WARNING [org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager]: 2,003 ms in new File("/home/nbproject/project.xml").exists()
WARNING [org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager]: 1,502 ms in new File("/home/nbproject/project.xml").exists()
WARNING [org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager]: 1,700 ms in new File("/home/pom.xml").exists()
WARNING [org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager]: 1,839 ms in new File("/home/nbproject/project.xml").exists()
WARNING [org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager]: 1,706 ms in new File("/home/nbproject/project.xml").exists()
WARNING [org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager]: 1,704 ms in new File("/home/nbproject/project.xml").exists()
WARNING [org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager]: 1,903 ms in new File("/home/nbproject/project.xml").exists()
WARNING [org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager]: 1,500 ms in new File("/home/src/main/webapp").exists()
WARNING [org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager]: 1,837 ms in new File("/home/nbproject/project.xml").exists()
WARNING [org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager]: 1,689 ms in new File("/home/nbproject/project.xml").exists()
WARNING [org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager]: 1,498 ms in new File("/home/nbproject/project.xml").exists()
WARNING [org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager]: 1,700 ms in new File("/home/nbproject/configurations.xml").exists()
WARNING [org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager]: 2,201 ms in new File("/home/grails-app").exists()
WARNING [org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager]: 1,890 ms in new File("/home/nbproject/project.xml").exists()
WARNING [org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager]: 2,127 ms in new File("/home/nbproject/project.xml").exists()
WARNING [org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager]: 1,500 ms in new File("/home/nbproject/project.xml").exists()

As result the deleting of simplest project takes about 30 seconds
Comment 1 Alexander Simon 2015-04-24 07:52:41 UTC
Created attachment 153348 [details]
profiling snapshot
Comment 2 Alexander Simon 2015-04-24 07:56:34 UTC
Correction:
create java application in default dir, i.e. /home/user/NetBeansProjects/JavaApplication1