Questions
- Where is the method for my object stored ?
- and can I see that area if I dump my java app ?
Background
I'm trying to measure the size of my object and realize that methods are not stored in the same place as the object data.
I'm trying to 'see' where the code for the methods are stored in a running Java app.
I tried dumping the heap using jmap and inspecting the dump using jhat, but I can't find anything useful regarding where the methods for my classes are.