Exit Print View

Java Platform Micro Edition Software Development Kit Version 3.0, Mac OS

Get PDF Book Print View
 

Document Information

Getting Started

Features

Using Sample Projects

Creating and Editing Projects

Viewing and Editing Project Properties

Running Projects in the Emulator

Searching the WURFL Device Database

Finding Files in the Multiple User Environment

Profiling Applications

Network Monitoring

Lightweight UI Toolkit

Security and MIDlet Signing

CLDC Emulation on a Windows Mobile Device

Installing CLDC Emulation on a Windows Mobile Emulator (Windows Only)

On-device Debugging

Command Line Reference

Launch the SDK

Run the Device Manager

Manage Device Addresses (device-address)

Emulator Command Line Options

Build a Project from the Command Line

Packaging a MIDLet Suite (JAR and JAD)

Command Line Security Features

Change the Default Protection Domain

Sign MIDlet Suites (jadtool)

Manage Certificates (MEKeyTool)

Generate Stubs (wscompile)

Virtual Machine Memory Profiler (Java Heap Memory Observe Tool)

Run the Java Heap Memory Observe Tool

Heap Snapshot Elements

Logs

JSR Support

JSR 75: PDA Optional Packages

JSR 82: Bluetooth and OBEX Support

JSR 135: Mobile Media API Support

JSR 172: Web Services Support

JSR 177: Smart Card Security (SATSA)

JSR 179: Location API Support

JSR 180: SIP Communications

JSR 184: Mobile 3D Graphics

JSR 205: Wireless Messaging API (WMA) Support

JSR 211: Content Handler API (CHAPI)

JSR 226: Scalable 2D Vector Graphics

JSR 229: Payment API Support

JSR 238: Mobile Internationalization API (MIA)

JSR 256: Mobile Sensor API Support

Index


Heap Snapshot Elements

The memory monitor elements are as follows:

memory panel - At the top of the window you see a grid of rectangles representing memory blocks. This is the memory panel. The key on the top right indicates the meaning of each graphical image. For example, blocks that are completely black are at 100% utilization. Clicking a single block opens a dialog showing all the objects in that block.

loaded classes - A list of loaded classes is displayed in the lower-left corner. Choosing a class from the list causes the location of all objects in the class to be displayed in class objects list immediately to the right.

class objects - The class objects list is populated when you select a class from the list of loaded classes. Select an object to see the class details. These include the address of the object, its type, and all references to and from the object. If the object is live, the “Show path from the root” button is enabled. Clicking this button opens the Path from the Root window, which displays dependencies that prevent this object from being garbage collected.

statistics - At the bottom right of the Memory Observer window, click the Statistics button to see a table showing the information for each class. Some objects are internal to the virtual machine. For each class, you see the Object number, size of all objects in the heap, the average size of the object, the percentage of the heap used by the selected class, the percentage of objects live in the selected class, and the percentage of objects that are in the old generation.

See Virtual Machine Memory Profiler (Java Heap Memory Observe Tool) and Run the Java Heap Memory Observe Tool.