This site describes, why resource consumption is still an issue in Java applications and why therefore efficient profiling is inevitable. For the impatient: If you are already familiar with the related difficulties or Java profilers, you may test the SAP JVM Profiler as described below.
At first glance Java is a comfortable programming language with regards to resource consumption: There is automatic memory management in place and the VM's just-in-time compiler takes care of generating machine code for fast application execution. Unfortunately this is only half the story. It is still easy to accidentally utilize large amounts of memory and CPU resources in Java. It is up to you as a developer to use inexpensive API calls and use appropriate algorithms and initialization strategies. Only if you have an impression of your application's resource consumption you can assess the scalability of your application in an application server environment.
What's the SAP JVM Profiler good for?
The Profiler will help you identify runtime bottlenecks, analyze the memory footprint of your application and find the code causing the problem. Even if you think your application behaves well, it's often valuable to see what happens "under the hood".
The SAP JVM Profiler is pretty easy to use:
- You can switch the Profiler on when ever you want - just start it on demand! There is no "standby overhead" if you are not using it.
- There is no special JVM configuration required. Start your application as usual.
- It's integrated into the NetWeaver Developer Studio or Eclipse IDE. There's no need to switch tools. You can seamlessly develop, debug and profile your code.
- Debugging and profiling via the same connection to the JVM is supported.
- Works reliably with large or long running Java applications.
Want to know more before starting? Check the Features and Benefits page.
What do you need to start?
All you need to check out the Profiler is the SAP JVM Profiler Eclipse Plug-in (which is the profiler's frontend) and a running SAP JVM instance (the corresponding backend):
- The SAP JVM Profiler frontend is available as Eclipse Plug-in. Download it into your SAP NetWeaver Developer Studio or Eclipse as described here.
- The SAP JVM Profiler backend is integrated in the SAP JVM, which is available here.