Is there a "howto" somewhere about writing visualvm plugins ?

On Sat, Jun 19, 2010 at 12:31, Kirk <[email protected]> wrote:

> building the plug-in is fairly mechanical and not that difficult
>
> Regards,
> Kirk
>
> On Jun 19, 2010, at 10:49 AM, Jaroslav Bachorik wrote:
>
> > Well, there is a Java api exposed by VisualVM - the OQL engine
> > utilizes it. But in order to use it you would need to write your own
> > VisualVM plugin.
> >
> > I would say that for and ad-hoc analysis the javascript scripting
> > would be much more useful - no need to build/install a new plugin and
> > you can save your analysis definition for later use inside VisualVM.
> >
> > On Jun 19, 10:09 am, Jan Goyvaerts <[email protected]> wrote:
> >> isn't there a Java api to parse heap dump files ?
> >>
> >> On Fri, Jun 18, 2010 at 21:07, Jaroslav Bachorik <[email protected]
> >wrote:
> >>
> >>
> >>
> >>> The nice thing with the OQL implementation in VisualVM (and jhat) is
> >>> that the code you send to the OQL processor doesn't necessarily need
> >>> to be restricted by the OQL rules. If the processor doesn't recognize
> >>> the OQL syntax being used it tries to evaluate the given code as a
> >>> plain javascript program. Utilizing this fall-back method you can
> >>> write an arbitrarily complex heap processing logic in javascript and
> >>> the VisualVM will take care of displaying the result.
> >>
> >>> Check outhttps://visualvm.dev.java.net/oqlhelp.htmlfor the list of
> >>> the heap dump manipulation functions available to such scripts.
> >>
> >>> --
> >>> You received this message because you are subscribed to the Google
> Groups
> >>> "The Java Posse" group.
> >>> To post to this group, send email to [email protected].
> >>> To unsubscribe from this group, send email to
> >>> [email protected]<javaposse%[email protected]>
> <javaposse%2bunsubscr...@googlegroups .com>
> >>> .
> >>> For more options, visit this group at
> >>> http://groups.google.com/group/javaposse?hl=en.
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "The Java Posse" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> [email protected]<javaposse%[email protected]>
> .
> > For more options, visit this group at
> http://groups.google.com/group/javaposse?hl=en.
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "The Java Posse" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<javaposse%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/javaposse?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to