Is there any profiling (open source or commercial) tools that can allow one to search all objects having some primitive fields satisfying some conditions e.g. having an int field with current value == 10
I am not sure profiler is what you need because your requirement can be achieved using a java debugger like eclipse. Yes but you cannot see the memory used by the object...