JVM profiling

Java profilers are available for two main purposes:

Memory profiling

Identifies memory usage, and, more specifically, memory leaks due to referenced but unused objects.

CPU profiling

Helps identify programmatic hot spots and bottlenecks. This analysis might help remove the corresponding bottlenecks, thereby increasing performance.

Guidewire has used two profiling tools internally and found each to be of good quality. Both tools provide both memory and CPU profiling:

  • Guidewire recommends YourKit for memory profiling.
  • Guidewire recommends JProfiler for CPU profiling.

To profile PolicyCenter, load the profiler agent into the PolicyCenter JVM either as it is starting PolicyCenter or by attaching the profiler agent to a running JVM. Refer to the profiler documentation for instructions.