>Some years ago I googled something that is called "Classmexer" (as a >subproject(?) of something that is called "Javamex" > > https://www.javamex.com/classmexer/ >
I just noticed, that I also have bookmarked an post called "Instrumentation Memory Counter" https://www.javaspecialists.eu/archive/Issue142.html to deal with related things ...