I am working on performance tuning of a java rmi application and using OQL to execute below query :
select tpoint.host.value.toString() from sun.rmi.transport.tcp.TCPEndpoint tpoint
where (tpoint.host!=null && tpoint.csf!=null)
Above query successfully compiles on JVisualVM with some records followed by this error :-
Too many results. Please, refine your query.
Same query fails to execute in Eclipse-MAT.
After, removing && tpoint.csf!=null
from the above query
, it compiles fine in Eclipse-MAT. Also it takes very less time as compared to JVisualVM and displays all records.
I am not able to find the correct syntax for using && operator
in Eclipse-MAT.
Facing hard time to find good OQL refrences for Eclipse-MAT, good refrences are appreciated.
Thanks in advance...