Synesso
Synesso

Reputation: 38988

Measure cache misses in JVM

Is it possible to measure cache misses in a running JVM?

Even better, is there a way to get these metrics in JProfiler? Or any other profiler?

I have explored JProfiler options and haven't seen an inspection for this.

Upvotes: 8

Views: 1892

Answers (2)

the8472
the8472

Reputation: 43107

On linux you can use perf-map-agent which provides java integration for perf-tools.

async-profiler is another tool supporting perf events.

Upvotes: 7

Ingo Kegel
Ingo Kegel

Reputation: 48070

No, this is beyond the scope of a Java profiler.

Upvotes: -1

Related Questions