`queryObjects` is notably missing. It is a crazy API which returns a list of all objects created by a particular constructor. One can for example get a list of all functions on the heap by doing `queryObjects(Function)`.
This will return even functions contained in some module that are “private”.
This will return even functions contained in some module that are “private”.