RFR: JDK-8329605: hs errfile generic events - introduce sections for Frequent/NotFrequent Events [v2]
Martin Doerr
mdoerr at openjdk.org
Mon Apr 8 19:30:10 UTC 2024
On Mon, 8 Apr 2024 13:45:29 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
>> Currently the 'generic' hs_errfile Events message log (filled by Events::log) is rather flooded by messages for memory protection operations. Those seem to occur quite often and move out other less frequent events, because the number of entries in the log is limited.
>> It might be better to separate the frequent and less frequent events into 2 sections. The memory protection events would go into the frequent events section.
>> The mentioned memory protection operations related entries look like this :
>> Event: 0.178 Protecting memory [0x000000016ebf0000,0x000000016ebfc000] with protection modes 0
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>
> Introduce separate nmethod flush log
src/hotspot/share/utilities/events.cpp line 102:
> 100: if (LogEvents) {
> 101: _messages = new StringEventLog("Events", "events");
> 102: _nmethod_flush_messages = new StringEventLog("Nmethod flushs", "nmethodflushs");
Should be "flushes" or "flushing events".
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18626#discussion_r1556348203
More information about the hotspot-dev
mailing list