• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

good code and memory profiler

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can someone steer me in the right direction for a good code and memory profiler? Cost is no issue (i.e. I don't want it to be a free version of one).

Thanks
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We are using JProfiler and are quite satisfied. Don't have much experience with other products, though.
 
Steve Chambers
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In your opinion how is this product for analyzing static code, and dependencies?
 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please try
Borland's optimizeitsuite forjava
 
Ilja Preuss
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Steve Chambers:
In your opinion how is this product for analyzing static code, and dependencies?



Not at all. It's a profiler, not a static code analyzer.

Perhaps it would help if you told us what you actually want to do with the tool...
 
Steve Chambers
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want a tool to profile my programs (memory, garbage collection). Along with this I also want to do static code analysis. Is there a tool out there where I can do both of these things or do I have to purchase seperate tools?
 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Steve,
Are you looking to do a first cut dev env optimization, or looking for visibility into high transaction production env ?

Regards,

Virag

The Peak of Performance
 
Steve Chambers
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The product would ideally be used in the dev environment and also in the testing environment. Does this answer your question Virag?
 
Ranch Hand
Posts: 884
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would recommend Quest JProbe Suite. They've a memory debugger to check for memory leaks & a profiler to find bottlenecks. One thing to note is that your system needs to be powerful enough, especially if you're working on J2EE.
 
Virag Saksena
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Steve,
Thanks for the clarification. In the development environment, you'll probably run it in single user mode, and can afford to take the hit of JVMPI/JVMTI. Something which integrates well with your IDE would work well, like NetBeans IDE Profiler.

When running in a test environment, the overhead of JVMPI/AOP based profilers becomes significant, specially when running a multi-user load test. When you are willing to live with 20-30% overhead, you can try byte code instrumentation. For true scalability tests, where you want the overhead of the analysis to be below 1%, you could consider Auptyma's Java Application Monitor.

With bytecode instrumentation, you can get lower overheads but you'll need to get experts who'll only be focused on optimizing the instrumentation points without sacrificing visibility.

Hope that helps.
 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ranchers ,

Is there any free profile which can be plugged in with Eclipse ? I am thinking about Visual Vm .. Eclipse TPTP is in archieve mode... Also tryingfind the usability of jconsole with eclipse...Please suggest me which free tool should i i use ?

Regards
Jordan
 
Bartender
Posts: 3225
34
IntelliJ IDE Oracle Spring Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Waking up a very old thread!

Please check this https://coderanch.com/t/643434/Performance/java/Eclipse-TPTP-visual-Vm. It is a very recent query posted, very relevant to what you have asked.

Anyways JConsole doesn't have profiling features. It supports monitoring the java application via JMX port. This things you can monitor there are CPU usage, Heap Usage, GC Collection times and frequencies, Threads and their status.
 
Been there. Done that. Went back for more. But this time, I took this tiny ad with me:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic