|
Manual configuration of profiling has been simplified if you profile a 1.5+ JVM. Instead of the -agentlib VM parameter, a boot class path VM parameter and the modification of the native library path environment variable, you now simply specify a single JVM parameter and no other modifications are required. On Windows, with JProfiler installed in C:\Program Files\jprofiler6, the VM parameter is
-agentpath:C:\Program Files\jprofiler6\bin\windows\jprofilerti.dll=port=8849
Any remote session configured for port 8849 can now connect to the profiled JVM.
Usually, you will use an integration wizard to insert the VM parameter for profiling into your start script, or use an IDE integration to start profiling without any configuration. However, sometimes it is convenient to make changes manually. In that case, it is now much simpler to set up profiling than before. |
|