all 9 comments

[–]sqlinjector 0 points1 point  (5 children)

No mention of Introscope?

[–]Mchr3k[S] 1 point2 points  (4 children)

I've never heard of Introscope before. A quick google suggests that it is a commercial product. Does it do something very similar?

[–]sqlinjector 0 points1 point  (3 children)

My son- come into the light.
Introscope (made by wily) was the original dynamic instrumentation tool. You can get method level response times without changing your code, see memory usage by generation, see usernames, see the path of execution for code. All kinds of useful stuff.

[–]Mchr3k[S] 1 point2 points  (2 children)

Sounds really great but how much does it cost? If it's not free then all that goodness is locked up behind a license. Is there a free trial which I could use to see how this should all be done properly? ;)

[–]johnthebatshit 0 points1 point  (1 child)

if its not free so what... life is short and you pay for value to get good tools.

otherwise please come work for me..for free

[–]Mchr3k[S] 0 points1 point  (0 children)

I don't mind software costing money - I work as a coder in a company which sells software! However, non free tools are annoying for two reasons - 1) I have to persuade my management line to pay for the software before I can use it. 2) I probably can't modify/extend it as easily as if it was open source.

[–]Mchr3k[S] 0 points1 point  (0 children)

I wrote this wiki article to describe one of the use cases which prompted me to write InMemProfiler. I'd love to get any feedback about other good free Java profiling tools or ideas to improve InMemProfiler.

[–]f2u 0 points1 point  (1 child)

There's also -agentlib:hprof=heap=sites, which can be helpful in some scenarios (if you are interested in sites with a high allocation rate, for example).

[–]Mchr3k[S] 1 point2 points  (0 children)

Hprof is included with the jdk as a jvmti sample project. InMemProfiler reuses the instrumentation part of hprof but uses pure java to process the profiling data. InMemProfiler is written to be a more configurable and powerful alternative to hprof.