Frequently Asked Questions - Profiling

Yes. The profile is logged in human readable text. The format is described in section 5.3 of the JamaicaVM User Manual.

You can use the “microprofile” feature of JamaicaVM Builder profiling. Refer to sections 5.1.4 and 5.2.2 in the JamaicaVM User Manual for more information.

Use the syntax -useProfile+=<filename>.

Use the -useProfile switch to include the profile you generated using the -profile switch. Refer to section 13.2.4 in the JamaicaVM User Manual for more information.

The -profile switch can be used with JamaicaVM Builder to build your program with profiling enabled. Refer to section 13.2.4 in the JamaicaVM User Manual for more information.

You can also use the prebuilt binary jamaicavmp to create a profile with your program. Refer to section 12.2.3 in the JamaicaVM User Manual.

Start JamaicaVM on the target using the following property

-Djamaica.profile_request_port=<port>

To dump a profile remotely call jamaica_remoteprofile.

$JAMAICA/bin/jamaica_remoteprofile <hostname> <port>