...
TPTP is at advanced profiling tool for Eclipse
Install the TPTP Eclipse plugin though the normal Help -> Install New Software.... The plugin is part of the default Eclipse update site
Install the TPTP Agent controller on the machine with the process, which needs to be profiled. Start the Agent Controller.
Start the application with the following code snippet added to the java command
Code Block |
---|
'-agentlib:JPIBootLoader=JPIAgent:server=controlled;HeapProf:allocsites=true'
|
eg. the last line ine the start_HarvestJobManager becomes
Code Block |
---|
java \-Xmx1536m '-agentlib:JPIBootLoader=JPIAgent:server=controlled;HeapProf:allocsites=true' \-Ddk.netarkivet.......
|
Define a profiling configuration under Run -> Profile configurations.
- Create new configuration under Attach to Agent. Name the configuration <Server> profiling.
- Click Add