{
  "schema_version": 1,
  "observation_type": "isolated-native-source-replay",
  "generated_at": "2026-10-30T19:10:29.628355+00:00",
  "source": {
    "commit": "5227a98b51e02b4d4fbfc2b0e33c362a138f51b1",
    "url": "https://raw.githubusercontent.com/ben-manes/caffeine/5227a98b51e02b4d4fbfc2b0e33c362a138f51b1/caffeine/src/main/java/com/github/benmanes/caffeine/cache/FrequencySketch.java",
    "sha256": "1e8d23ba8f59cc792f681319458d0b3583e13b83a50c351952eab70a849bd142",
    "license": "Apache-2.0",
    "tag": "v3.2.3"
  },
  "runtime": [
    "openjdk version \"21.0.12.1\" 2026-08-18",
    "OpenJDK Runtime Environment (build 21.0.12.1+1-1-24.04.4-Ubuntu)",
    "OpenJDK 64-Bit Server VM (build 21.0.12.1+1-1-24.04.4-Ubuntu, mixed mode, sharing)"
  ],
  "method": {
    "unmodified_class": "FrequencySketch",
    "substitutions": [
      "Two Caffeine helpers: argument validation and capacity-64 power-of-two result.",
      "Compile-time Var annotation; no sketch method is substituted."
    ],
    "workload": "Constructed deterministic direct method calls; no random sampling.",
    "limits": [
      "Not the complete Caffeine cache, its access-event delivery, or eviction policy.",
      "No throughput, hit-ratio, hardware, wall-clock aging, or collision-rate estimate.",
      "Explicit reset is a separate control, not an observed automatic reset."
    ]
  },
  "observations": {
    "capacity_entries": 64,
    "sample_size": 640,
    "hot_key": {
      "calls": 100000,
      "frequency": 15,
      "sample_counter": 15,
      "automatic_resets": 0,
      "extra_saturated_calls": 1000,
      "extra_automatic_resets": 0,
      "table_unchanged": true
    },
    "hash_collision": {
      "first_key_calls": 15,
      "second_key_calls": 1000,
      "second_estimate_before_first_access": 15,
      "second_estimate_after": 15,
      "sample_counter": 15,
      "automatic_resets": 0,
      "table_unchanged": true
    },
    "sequential_keys": {
      "start": 0,
      "step": 1,
      "first_automatic_reset_call": 640,
      "sample_counter_after": 253
    },
    "explicit_reset": {
      "calls_before": 15,
      "frequency_after": 7,
      "sample_counter_after": 7,
      "calls_after": 8,
      "final_frequency": 15,
      "final_sample_counter": 15
    }
  }
}
