RFR: 8264768: JFR: Allow events to be printed to the log [v2]

Stefan Karlsson stefank at openjdk.java.net
Mon Apr 12 08:44:48 UTC 2021


On Fri, 9 Apr 2021 08:04:17 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

>> src/hotspot/share/jfr/utilities/jfrJavaLog.cpp line 34:
>> 
>>> 32: #include "memory/resourceArea.hpp"
>>> 33: #include "oops/objArrayOop.hpp"
>>> 34: #include "oops/objArrayOop.inline.hpp"
>> 
>> Same here.
>
> I ran into issue with building (without precompiled headers on Linux), if I didn't include "#include "oops/objArrayOop.hpp" in jfrJavaLog.cpp. Maybe there is some better way around this.

I looked into this, and there is a circular dependency in objArrayOop.inline.hpp. I have created a PR to take care of that: https://github.com/openjdk/jdk/pull/3431

Testing different build configurations with this now.

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

PR: https://git.openjdk.java.net/jdk/pull/3377


More information about the hotspot-jfr-dev mailing list