Swaranga Sarma
Swaranga Sarma

Reputation: 13413

Profiling JNI applications

How do we track memory allocation in a Java application that makes use of JNI layer. More specifically if the underlying C code does some memory allocation, can we track those allocations using some profiler [Eclipse/Netbeans].

Upvotes: 7

Views: 1455

Answers (1)

fglez
fglez

Reputation: 8552

It should be possible to track those allocations using a native framework like Valgrind.

Running a JNI application in the Sun VM under Valgrind

Upvotes: 2

Related Questions