I wrote a long ass article where I played around with visual representations of the Java Heap!
https://blog.p-y.wtf/rendering-the-java-heap-as-a-treemap
Has anyone explored this space?
@py DAGP has a submodule that i publish that includes an agnostic algorithm for computing dominator trees based on on the guava graph api
@autonomousapps oh, very cool! What do you use it for / what does the output look like?
@py I built it when i was on the square side to visualize contributors to jar size. we use it now at cash for the same reason. the library is agnostic regarding type, but the gradle tasks that uses it are configured to look at the runtime and compile time classpaths. they'll print the output to console and also a json representation for post processing
both square and cash have a tendency to add dependencies that contribute massively to final binary size
@py I also read some academic articles and i thought at the time that my algorithm was the only Kotlin implementation of a particular paper in the wild
@autonomousapps you know you really want to render that json output as a treemap now ;)
@py it's true!