Is it possible in OQL
to retrieve all the objects that belongs to a package? Or can I query with wildcards
?
As @haridsv suggested I tried:
SELECT * from "com.example.*"
and
SELECT a from "com\.example\..*"
but in VisualVM
it complaints that no such package exists.
Even
SELECT a from "java.io.File" a
Fails.
Thanks!
ssedano.
I found the answer in VisualVM OQL help.
select filter(heap.classes(), "/com.example./(it.name)")