Skip to main content

how to use the Profiler in PhoneME Feature?

2 replies [Last post]
rxu
Offline
Joined: 2007-08-20

Hi,

We want to profile our J2ME application running on the PhoneME feature simulator, but have no idea about how to do that.

We already built our PhoneME Feature using build argument "USE_JAVA_PROFILER=true".

Anybody can help us figure out how to profile our application using the profiling functionality in the PhoneME Feature?

Thanks a lot,

Ray

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
rxu
Offline
Joined: 2007-08-20

Hi Terrence,

Thanks a lot.

I tried to search the PhoneME Feature directory for "USE_JAVA_PROFILER" aiming to figure out some profiler usage clue. But it can be found nowhere except in the file "build-phoneME.sh".

Anyway, we will follow the documents to use the PhoneME profiler.

Ray

terrencebarr
Offline
Joined: 2004-03-04

Ray,

Sorry, this is not easy to find. Using the profiler is documented in the CLDC-HI Hotspot Implementation Build Guide (CLDC-HI Hotspot is the VM of the phoneME Feature Stack). You can find the complete set of documentation for the CLDC-HI Hotspot VM here:

http://java.sun.com/javame/reference/docs/cldc-hi-2.0-web/index.html

By the way, the documentation for the commercial version of phoneME Feature (Sun Java Wireless Client or SWJC) is here:

http://java.sun.com/javame/reference/docs/sjwc-2.0-web/index.html

Hope this helps,

-- Terrence