This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Can I use the GC to find the number and type of each java object?


I occasionally run out of memory when running GCJ compiled code, and in the interests of understanding what is happening, I would like to be able to dump the type, size and occurrence count of each reachable object.

It there a predefined method, or lacking that a good place to hook in to boehm-gc to find information about all reachable objects?

David Daney.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]