lib/new_relic/agent/vm/snapshot.rb in newrelic_rpm-8.10.1 vs lib/new_relic/agent/vm/snapshot.rb in newrelic_rpm-8.11.0
- old
+ new
@@ -1,6 +1,5 @@
-# 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
module NewRelic
@@ -8,10 +7,10 @@
module VM
class Snapshot
attr_accessor :gc_total_time, :gc_runs, :major_gc_count, :minor_gc_count,
:total_allocated_object, :heap_live, :heap_free,
:method_cache_invalidations, :constant_cache_invalidations,
- :thread_count, :taken_at
+ :constant_cache_misses, :thread_count, :taken_at
def initialize
@taken_at = Process.clock_gettime(Process::CLOCK_REALTIME)
end
end