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 27239 - Do not use own RP to clear weak references
Summary: Do not use own RP to clear weak references
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on: 27238
Blocks:
  Show dependency tree
 
Reported: 2002-09-12 07:30 UTC by Jaroslav Tulach
Modified: 2003-02-04 13:47 UTC (History)
0 users

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 Jaroslav Tulach 2002-09-12 07:30:40 UTC
I have noticed that

org.netbeans.modules.vcscore.cache.CacheHandler 

uses own thread to clear references. Such code
should be converted to use shared reference queue
as implemented as part of issue 27238
Comment 1 Martin Entlicher 2002-09-12 09:56:22 UTC
Resolving as later till issue #27238 is fixed...
Comment 2 Jaroslav Tulach 2002-09-12 16:41:58 UTC
Martin, I do not know how in your group but in core resolve later is
forbiden, because it removes the bug from statistics and it is not
guaranteed that it will every be opened. So I am reopening the bug, if
your policy is different, "later" it again.
Comment 3 Martin Entlicher 2002-09-12 18:11:31 UTC
> in core resolve later is forbiden, because it removes the bug from
> statistics

This is exactly what I wated to achieve :) I can not fix it now, so it
only makes the statistics worse.

Our QA engineers check "resolved later" issues regularly, thus it will
not be forgotten.

I'll resolve this as later next week for statistical reasons if issue
#27238 will not be fixed.
Comment 4 Jiri Kovalsky 2002-09-13 08:27:46 UTC
Definetely agreed.
Comment 5 Jaroslav Tulach 2002-09-16 09:51:43 UTC
Ok, as you want.
Comment 6 Martin Entlicher 2002-09-19 17:36:38 UTC
Reopening, issue #27238 was fixed.
Comment 7 Martin Entlicher 2002-09-26 12:51:32 UTC
Fixed in the main trunk.

/cvs/vcscore/manifest.mf,v  <--  manifest.mf
new revision: 1.30; previous revision: 1.29
done
Processing log script arguments...
More commits to come...
Checking in
vcscore/src/org/netbeans/modules/vcscore/cache/CacheDir.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/cache/CacheDir.java,v 
<--  CacheDir.java
new revision: 1.30; previous revision: 1.29
done
Checking in
vcscore/src/org/netbeans/modules/vcscore/cache/CacheHandler.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/cache/CacheHandler.java,v 
<--  CacheHandler.java
new revision: 1.11; previous revision: 1.10
done
Checking in
vcscore/src/org/netbeans/modules/vcscore/cache/CacheReference.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/cache/CacheReference.java,v 
<--  CacheReference.java
new revision: 1.8; previous revision: 1.7
Comment 8 Jiri Kovalsky 2002-11-08 11:01:25 UTC
Verified in development build #200211080100 of NetBeans 4.0.