track native memory with JCMD

Use jcmd to track native memory:

  1. launch app with the following flag: -XX:NativeMemoryTracking=detail
  2. fetch the process PID
  3. launch jcmd: jcmd 202553 VM.native_memory baseline
  4. to compare the memory allocation with the current baseline : jcmd 20553 VM.native_memory summary.diff