Class ProfilingServiceLookup

java.lang.Object
org.jruby.runtime.profile.ProfilingServiceLookup

public class ProfilingServiceLookup extends Object
This helper is used to get the configured ProfilingService for the current Ruby instance. Each Ruby instance has a ProfilingServiceLookup property.
  • Field Details

    • runtime

      private final Ruby runtime
    • service

      private ProfilingService service
      The service which is configured. Will be lazy loaded, and never changed.
  • Constructor Details

    • ProfilingServiceLookup

      public ProfilingServiceLookup(Ruby runtime)
      Parameters:
      runtime - the ruby instance this instance belongs to
      Throws:
      IllegalArgumentException - if given runtime is null
  • Method Details