Program Counter register values for a Java program

前端 未结 1 1027
渐次进展
渐次进展 2021-01-15 12:06

Is it possible to obtain the program counter (PC) register values of a running Java application, particularly one running in an Android emulator? gprof, for example, randoml

相关标签:
1条回答
  • 2021-01-15 13:00

    Many Java profilers like VisualVM can do sampling-based profiling, which probably works like you describe.

    As for code memory usage, this is what the "permanent generation" (PermGen) of the garbage collector mainly contains; VisualVM can display that as well.

    0 讨论(0)
提交回复
热议问题