{"record":{"id":"7912d522eb7f3dfb","repo":"jruby/jruby","slug":"unknown-key-s","errorCode":null,"errorMessage":"unknown key: %s","messagePattern":"unknown key: (.+?)","errorType":"validation","errorClass":"ArgumentError","httpStatus":null,"severity":"error","filePath":"core/src/main/ruby/jruby/kernel/gc.rb","lineNumber":104,"sourceCode":"      used\n    when :peak_committed\n      peak_committed\n    when :peak_init\n      peak_init\n    when :peak_max\n      peak_max\n    when :peak_used\n      peak_used\n    when :last_committed\n      last_committed\n    when :last_init\n      last_init\n    when :last_max\n      last_max\n    when :last_used\n      last_used\n    when Symbol\n      raise ArgumentError.new(format(\"unknown key: %s\", result_key).force_encoding(\"UTF-8\"))\n    else\n      all_stats.merge!({count:, time:, committed:, init:, max:, used:, peak_committed:, peak_init:, peak_max:, peak_used:, last_committed:, last_init:, last_max:, last_used:})\n    end\n  end\n\n  begin\n    module Profiler\n      def self.__setup__\n        @profiler ||= begin\n          NotifiedProfiler.new!\n          # class exists and Java dependecies are also present, proceed with GC notification version\n        rescue NameError\n          NormalProfiler.new\n        end\n      end\n\n      def self.enabled?\n        __setup__","sourceCodeStart":86,"sourceCodeEnd":122,"githubUrl":"https://github.com/jruby/jruby/blob/fb650c13e02b5a600fa66384655069d5ec30c362/core/src/main/ruby/jruby/kernel/gc.rb#L86-L122","documentation":"Error \"unknown key: %s\" thrown in jruby/jruby.","triggerScenarios":"Thrown at core/src/main/ruby/jruby/kernel/gc.rb:104 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["An unknown GC stat key was requested. Use one of the keys returned by GC.stat.keys."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fb650c13e02b5a600fa66384655069d5ec30c362","analyzedAt":"2026-08-23T07:18:57.479Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}