RFR (XS): 8023134: Rename VM LogFile to hotspot_pid{pid}.log (was hotspot.log)

Staffan Larsen staffan.larsen at oracle.com
Tue Sep 10 04:31:34 PDT 2013

I'm not sure this change is only to the better. Since every run of a debug-build of hotspot creates this file, there is now going to be an enormous amount of these files create. At least for me that is going to be a big nuisance since they will clutter up every directory where I run hotspot. Would it be possible to keep hotspot.log as the default name, and have a flag which multiprocess tests can use to include the pid in the name?


On 9 sep 2013, at 14:24, Vladimir Ivanov <vladimir.x.ivanov at oracle.com> wrote:

> http://cr.openjdk.java.net/~vlivanov/8023134/webrev.00/
> 7 lines changed: 4 ins; 0 del; 3 mod
> Added pid of the Java process to default name of VM log file:
> 	- old: hotspot.log
> 	- new: hotspot_pid{pid}.log
> It allows to avoid hotspot.log overwrite/corruption in multi-VM test scenarios and simplifies hs_err/ciReplay/hotspot.log files matching.
> Thanks!
> Best regards,
> Vladimir Ivanov

More information about the hotspot-dev mailing list