# Weekend Read: What Does the Java Virtual Machine Do All Day?

**URL:** <https://community.amperecomputing.com/t/weekend-read-what-does-the-java-virtual-machine-do-all-day/555>\
**Category:** Content and Articles\
**Tags:** weekend-read, performance, java, gprofng\
**Created:** [December 8, 2023, 9:30pm UTC](https://community.amperecomputing.com/t/weekend-read-what-does-the-java-virtual-machine-do-all-day/555 "2023-12-08T21:30:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aaron](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.amperecomputing.com/aaron/32/37_2.png) [@Aaron](https://community.amperecomputing.com/u/Aaron)\
**Post date:** [December 8, 2023, 9:30pm UTC](https://community.amperecomputing.com/t/weekend-read-what-does-the-java-virtual-machine-do-all-day/555/1 "2023-12-08T21:30:24Z")

</div>

Want to learn more about what the Java VM is doing? Check out this blog post by Ampere’s Peter Kessler:

> **[What Does the Java Virtual Machine Do All Day?](https://amperecomputing.com/blogs/what_does_the_java_virtual_machine_do_all_day)**
>
>  In this blog I show that gprofng is easy to use and useful for digging into the dynamic behavior of a Java application

His first paragraph sums up why he wanted to do it and the rest shows you how and his results.  
“_I saw a [blog post](https://blogs.oracle.com/linux/post/gprofng-the-next-generation-gnu-profiling-tool) about gprofng, a new GNU profiling tool. The example in that blog was a matrix-vector multiplication program written in C. I’m a Java™ programmer, and profiling Java applications is [often difficult](https://github.com/jvm-profiling-tools/perf-map-agent) with tools that are designed for statically-compiled C programs, rather than Java programs that are compiled at runtime. In this blog I show that gprofng is easy to use and useful for digging into the dynamic behavior of a Java application._”

What do you think?
