Measure cache misses in JVM
Asked Answered
C

2

8

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.

Colier answered 27/6, 2016 at 7:58 Comment(3)
cache misses in what cache?Propagable
You could try Oracle Solaris Studio which also runs on Linux (but not windows)Cadal
looking for misses in L2Colier
U
7

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

async-profiler is another tool supporting perf events.

Untwist answered 27/6, 2016 at 11:50 Comment(1)
I guess it's not possible to use async-profiler for this on Mac OS X yet: github.com/jvm-profiling-tools/async-profiler/issues/182Cooperage
M
-1

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

Monochromat answered 27/6, 2016 at 8:43 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.