# File lib/new_relic/agent/vm/mri_vm.rb, line 58
        def supports?(key)
          case key
          when :gc_runs
            RUBY_VERSION >= '1.9.2'
          when :gc_total_time
            NewRelic::LanguageSupport.gc_profiler_enabled?
          when :total_allocated_object
            RUBY_VERSION >= '2.0.0'
          when :major_gc_count
            RUBY_VERSION >= '2.1.0'
          when :minor_gc_count
            RUBY_VERSION >= '2.1.0'
          when :heap_live
            RUBY_VERSION >= '1.9.3'
          when :heap_free
            RUBY_VERSION >= '1.9.3'
          when :method_cache_invalidations
            RUBY_VERSION >= '2.1.0'
          when :constant_cache_invalidations
            RUBY_VERSION >= '2.1.0'
          when :thread_count
            true
          else
            false
          end
        end