RFR: 8330198: Add some class loading related perf counters to measure VM startup [v3]
Calvin Cheung
ccheung at openjdk.org
Fri Jun 7 16:11:36 UTC 2024
On Fri, 7 Jun 2024 02:53:18 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> The latest version looks good to me. My only suggestion is to use `log_is_enabled(Info, perf, class, link)` directly, because it's very efficient.
>
Thanks for checking it.
I also did some perf testing using `log_is_enabled(Info, perf, class, link)` and the results are similar to using `Arguments::perf_class_link()`. So I've pushed another commit based on your suggestion.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18790#discussion_r1631427524
More information about the hotspot-dev
mailing list