classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] [RFC/JDWP] ID management


From: Keith Seitz
Subject: [cp-patches] [RFC/JDWP] ID management
Date: Thu, 04 Aug 2005 13:59:06 -0700

Hello,

When we last left off with the drama surrounding ID management, I
believe the biggest concern was performance and allowing the possibility
of the VM to replace the ID management classes I had posted with
something more performance-oriented (and consequently VM-specific).

Taking that into account, what I'd like to propose is an ID management
interface to be provided by the VM. If we can get some sort of consensus
what this might look like, it will be a big step to finishing some of
this generic, VM-agnostic work.

I've attached a file which defines an abstract class that defines the
type of interface I think might work (or at least nearly work) for "id
management" (getting IDs for objects/getting objects for IDs and the
same for reference types).

Right now, this "interface" assumes that all IDs are eight bytes. I
don't think this will be a problem. 'Nuff said.

My plan is to commit a version of the previous "IdManager" patch as a
vm/reference implementation, demonstrating how this class might be
implemented.

[Is the -patches list the right place for these not-yet-a-patch-related
discussions?]

Comments?
Keith

I'll post a ChangeLog, but this is really more an RFC than an RFA
(request for comment/request for approval). But who knows, even a blind
man occasionally hits the target! ;-)

ChangeLog
2005-08-04  Keith Seitz  <address@hidden>

        * gnu/classpath/jdwp/vm/IdManager.java: New file describing
        the interface used by the JDWP back-end for object and type
        ID management.

Attachment: IdManager.java
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]