[RFA] JVMTI/JDWP GetAllLoadedClasses
Kyle Galloway
kgallowa@redhat.com
Tue Apr 24 18:28:00 GMT 2007
Keith Seitz wrote:
> Kyle Galloway wrote:
>> ChangeLog
>> * jvmti.cc (_Jv_JVMTI_GetLoadedClasses): New method.
>> * prims.cc (_Jv_CreateJavaVM): Call ClassList::setup ().
>> * gnu/gcj/jvmti/ClassList.h: New file.
>> * gnu/gcj/jvmti/natClassList.cc: New file.
>> * gnu/classpath/jdwp/natVMVirtualMachine.cc (getAllLoadedClasses):
>> Implement.
>> * java/lang/natClassLosder.cc (_Jv_PushClass): Call ClassList::add
>> ().
>> * Makefile.am: Add gnu/gcj/jvmti/natClassList.cc.
>> * Makefile.in: Regenerated.
>>
>> Questions/comments/concerns?
>
> One cursory question: Is there no gnu/gcj/jvmti/ClassList.java?
Probably should have mentioned this, but no, there is no ClassList.java,
these are all static native methods. As I mentioned, it's a little
tricky to deal with the class loading order, so I figured one less java
class would be a benefit.
- Kyle
More information about the Java-patches
mailing list