Compiling JDK with gprof

Thomas, Samuel samuel_thomas at brown.edu
Thu Aug 19 14:55:45 UTC 2021


Hi all,

I'm trying to run some program profiling of the JDK for a research project
and am trying to use gprof to gather specific performance metrics of
routines and subroutines in the JDK. However, I don't have much experience
with the build process other than following the setup instructions, and it
seems rather complex to include flags (i.e., -pg if GCC is used) in the
make instructions.

Could someone help me find where to add additional flags to the build
instructions?

Thank you for your help!

Best,
Sam



More information about the build-dev mailing list