Class SamplingProfiler

java.lang.Object
net.bull.javamelody.internal.model.SamplingProfiler

public class SamplingProfiler extends Object
Detect CPU hotspots CPU by periodic sampling of the stack-traces of the threads.
Author:
Emeric Vernat with some ideas from Cédrik Lime
  • Constructor Details

    • SamplingProfiler

      public SamplingProfiler()
      Constructor. Excluded packages by default "java,sun,com.sun,javax,org.apache,org.hibernate,oracle,org.postgresql,org.eclipse"
    • SamplingProfiler

      public SamplingProfiler(List<String> excludedPackages, List<String> includedPackages)
      Constructor.
      Parameters:
      excludedPackages - List of excluded packages (can be null)
      includedPackages - List of included packages (can be null)
    • SamplingProfiler

      public SamplingProfiler(String excludedPackages, String includedPackages)
      Constructor.
      Parameters:
      excludedPackages - List of excluded packages separated by comma (can be null)
      includedPackages - List of included packages separated by comma (can be null)
  • Method Details