RFR: 8349083: Factor out filename handling code from logging

David Holmes dholmes at openjdk.org
Thu Feb 13 00:20:16 UTC 2025


On Wed, 12 Feb 2025 15:51:56 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> I am curious why re-stringifying the timestamp and host name are concerns? obviously, the code is not on any hot paths.

For UL they are on the VM startup path.

But in general I just don't like the wasted effort.

> I am not trying to standardize timestamp in this PR, but a simple refactor so that we don't have wildcard parsing and replacing code all over the places.

Understood, though I was hoping for some standardizing as having %t mean different things in different kinds of log files is not good,

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

PR Comment: https://git.openjdk.org/jdk/pull/23410#issuecomment-2655137231
PR Comment: https://git.openjdk.org/jdk/pull/23410#issuecomment-2655139615


More information about the hotspot-dev mailing list