RFR: JDK-8313251: Add NativeLibraryLoad event [v2]

Erik Gahlin egahlin at openjdk.org
Wed Aug 2 12:26:53 UTC 2023


On Wed, 2 Aug 2023 10:33:26 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> src/hotspot/os/bsd/os_bsd.cpp line 1027:
>> 
>>> 1025:   log_info(os)("attempting shared library load of %s", filename);
>>> 1026: 
>>> 1027: #if INCLUDE_JFR
>> 
>> We typically skip INCLUDE_JFR for events and rely on empty stubs in the code generation. This to make the code more easy to read.
>
> Hi Erik , I removed the JFR with configure and attempted this (however on Linux) but for some reason I got build errors. So I better added the macros. (not sure why this happened, with some other JFR event living without INCLUDE_JFR seemed to  work as expected)

OK

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/15065#discussion_r1281829833


More information about the hotspot-jfr-dev mailing list