Sha256: a8db438310513353f645adfd9bf8bfc901fef56f7ed64429f35cb92d4ccfd7ec
Contents?: true
Size: 634 Bytes
Versions: 2
Compression:
Stored size: 634 Bytes
Contents
# encoding: utf-8 # This file is distributed under New Relic's license terms. # See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details. # frozen_string_literal: true require 'new_relic/language_support' require 'new_relic/agent/vm/mri_vm' require 'new_relic/agent/vm/jruby_vm' module NewRelic module Agent module VM def self.snapshot vm.snapshot end def self.vm @vm ||= create_vm end def self.create_vm if NewRelic::LanguageSupport.jruby? JRubyVM.new else MriVM.new end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
newrelic_rpm-8.10.1 | lib/new_relic/agent/vm.rb |
newrelic_rpm-8.10.0 | lib/new_relic/agent/vm.rb |