classpath-patches
[Top][All Lists]
Advanced

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

Re: [cp-patches] [RFC/JDWP] ClassLoaderReferenceCommandSet


From: Archie Cobbs
Subject: Re: [cp-patches] [RFC/JDWP] ClassLoaderReferenceCommandSet
Date: Mon, 08 Aug 2005 17:24:07 -0500
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129

Aaron Luchko wrote:
There's only a single command which asks for a list of every class the
ClassLoader has been requested to load. The first way to do this is just
use a hook in the vm. I don't know enough with how ClassLoaders are
handled within the vm to know how easy this would be to implement.

The second method involves a patch to ClassLoader which adds a single
variable loadRequests which will store every Class that is requested to
be loaded.

I'd strongly vote for option #1, i.e., just ask the VM directly.
VMs that want to support this stuff are going to have to implement
a lot of other native methods too, and this one should be fairly easy.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com




reply via email to

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