AMD Logo AMD Developer Central

Multi-Core Event Based Profiling 

Skip Navigation LinksHome > Docs & Articles > Articles & Whitepapers
Using AMD CodeAnalyst™ to profile Java applications.
Azeem Jiva  3/21/2007 
Printer Friendly Version
Table Of Contents

Java has simplified programming multi-threaded applications. Unfortunately, there are pitfalls that can create deadlocks, performance issues and incorrect output. With the addition of the concurrency libraries in Java5, many of these issues are resolved, but not all. This is where AMD CodeAnalyst™ comes in giving us a view into how the hardware can affect the performance of the Java Virtual Machine and applications running on the JVM. This walkthrough assumes you are using at least Java5 or above and have two or more processor cores using Windows XP or later.

In this article, we will use a sample application to demonstrate how CodeAnalyst can profile your Java application. You will learn how to setup a CodeAnalyst project to use Event Based Profiling to get an idea of what to investigate in your own Java applications. Event-Based Profiling allows the developer to tie in running code with hardware events such as a cache miss, locked instructions or pipeline stalls. If you are new to CodeAnalyst, please see Using AMD CodeAnalyst with Java.

Back to top
«1 2 3 4 5 6 7 »
AMD, the AMD Arrow logo, AMD Opteron, AMD Athlon, AMD Turion, AMD Sempron, AMD LIVE!, and combinations thereof, are trademarks of Advanced Micro Devices, Inc. Microsoft and Windows are registered trademarks of Microsoft Corporation in the United States and/or other jurisdictions. Linux is a registered trademark of Linus Torvalds. Other names are for informational purposes only and may be trademarks of their respective owners.                            
websites which are not in the control of and are not maintained by AMD. AMD is not responsible for the content of those sites. AMD provides these links to you only as a convenience, and the inclusion of any link to such sites does not imply endorsement by AMD of those sites. AMD reserves the right to terminate any link or linking program at any time.