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 30521 - too often reading javacvs.cache
Summary: too often reading javacvs.cache
Status: VERIFIED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 28708 34219
  Show dependency tree
 
Reported: 2003-01-30 15:33 UTC by Petr Nejedly
Modified: 2007-01-04 17:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Nejedly 2003-01-30 15:33:34 UTC
using 'truss -f' on solaris, I realized that the
javacvs module is reading CVS/javacvs.cache too
often.
I used a clean userdir, mounted a openide/src,
browsed to org/openide/actions and restarted the
IDE under truss, here is short snippet of the
grepped output:

2812:  
open("/a/work/perf/openide/src/org/openide/actions/CVS/javacvs.cache",
O_RDONLY|O_LARGEFILE) = 8
2812:  
open("/a/work/perf/openide/src/org/openide/actions/CVS/javacvs.cache",
O_RDONLY|O_LARGEFILE) = 8
2812:  
open("/a/work/perf/openide/src/org/openide/actions/CVS/javacvs.cache",
O_RDONLY|O_LARGEFILE) = 8
2812:  
open("/a/work/perf/openide/src/org/openide/actions/CVS/javacvs.cache",
O_RDONLY|O_LARGEFILE) = 8
2812:  
open("/a/work/perf/openide/src/org/openide/actions/CVS/javacvs.cache",
O_RDONLY|O_LARGEFILE) = 8

You can use strace on linux instead of truss.
Comment 1 Martin Entlicher 2003-01-30 16:10:59 UTC
Thanks Petr for catching this. The same problem probably has also
command-line CVS integration.
This is going to be solved as a part of issue #28708.
Comment 2 Martin Entlicher 2003-02-04 13:31:36 UTC
I was able to reproduce it, starting to search where is the problem...
Comment 3 Tomas Zezula 2003-03-03 17:30:31 UTC
Already fixed by Martin's integration using readCache instead of
readCache_old.
Verified by strace and by debuging cache referencies.
Comment 4 Petr Nejedly 2003-03-03 17:57:19 UTC
I verified it too.