RFR: 8277316: ciReplay: dump_replay_data is not thread-safe

Dean Long dlong at openjdk.java.net
Wed Nov 17 20:29:45 UTC 2021


On Wed, 17 Nov 2021 16:02:50 GMT, Ekaterina Pavlova <epavlova at openjdk.org> wrote:

>> Using a static buffer for the file name causes corrupted replay files.  Fixed.
>
> Btw, could it be there are some tools/sources which depend on replay_pid%p_compid%d.log format?

Thanks @katyapav for testing this.

> Btw, could it be there are some tools/sources which depend on replay_pid%p_compid%d.log format?

It's possible, but none that I am aware of.  We already use a decimal <pid> for the replay file when there is a crash.

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

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


More information about the hotspot-compiler-dev mailing list