Examining Interpreted vs.Compiled Methods

While still in the Expert-Java representation, return to the Functions tab. Alphabetically sort the list by selecting Name at the top of the screen, then scroll down to the list of Routine methods.

You may notice that some methods have duplicate entries. In such cases, one is the interpreted version, and the other is the version that was dynamically compiled by the JavaTM HotSpot virtual machine. To determine which is which, select one of the duplicate methods and examine the Load Object field of the Summary tab on the right side of the screen. A load object of <JAVA_COMPILED_METHODS>, indicates a dynamically-compiled version of the method. A load object of <JAVA_CLASSES>, indicates that the interpreted version.

The HotSpot virtual machine does not dynamically compile methods that execute only for short periods of time. Therefore, methods listed only once are the interpreted versions.

Previous | Next


Can't find what you are looking for? Submit your comments at http://www.sun.com/hwdocs/feedback.
Legal Notices