This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[RFA/JDWP] ReferenceKey
- From: Keith Seitz <keiths at redhat dot com>
- To: GCJ Patches <java-patches at gcc dot gnu dot org>
- Cc: classpath patches <classpath-patches at gnu dot org>
- Date: Fri, 17 Jun 2005 12:25:48 -0700
- Subject: [RFA/JDWP] ReferenceKey
Hi,
Okay, here'e where the weirdness starts. The ID manager (not yet
submitted) keeps a table which map objects to IDs. This is used to
quickly lookup Objects to see if they have an ID associated with them
already.
The ReferenceKey class is a SoftReference class with some logic to allow
the ID manager to clean-up garbage-collected Objects and their
ReferenceKeys.
After a patch for JdwpIdFactory, the IdManager is next.
Comments/questions/concerns?
Keith
ChangeLog
2005-06-17 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/id/ReferenceKey.java: New file.