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 out https://visualvm.dev.java.net/oqlhelp.html for 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]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
