[cp-patches] FYI: Implement java.lang.management.ClassLoadingMXBean

Andrew John Hughes gnu_andrew at member.fsf.org
Thu Jun 29 19:51:29 UTC 2006


On Mon, 2006-06-26 at 15:20 -0600, Tom Tromey wrote:
> >>>>> "Andrew" == Andrew John Hughes <gnu_andrew at member.fsf.org> writes:
> 
> Andrew> The attached patch adds the class loading management bean
> Andrew> interface and an appropriate GNU implementation.  This adds
> Andrew> four new VM methods to provide the necessary information.
> Andrew> Any comments on these are welcomed, especially if there is
> Andrew> a way some can be avoided.
> 
> Not really I suppose.  We could make the VM provide the entire bean,
> but that just changes it from 4 methods to 1 class.
> 
> Tom

Yes, and also means that each VM must code up the totalClassesLoaded
method (which is a trivial summation) and remember to handle the
security aspects of setVerbose.

Thanks,
-- 
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint)
attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

If you use Microsoft Office, support movement towards the end of vendor
lock-in:
http://opendocumentfellowship.org/petition/

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060629/6a34c37e/attachment.pgp


More information about the Classpath-patches mailing list