gclog improvements
Tony Printezis
Antonios.Printezis at sun.com
Wed Oct 15 17:16:05 UTC 2008
Rainer Jung wrote:
> You could make it work platform independant by supporting formatting
> characters for pid (at least). There is already code for it in
> src/share/vm/utilities/ostream.cpp: make_log_name() replaces the first
> star in a string with the pid. It could be easily included in
> ostream_init_log() in the same file. Of course people already using a
> '*' in their log file names would experience incompatible behaviour, but
> that character is not very common in file names - even on Windows ;)
>
> More future proof (in the sense of extensible) would be to use %X for
> some letter X.
>
Sounds like a nice little project. If you get it working and we like it,
we will consider putting in into the openjdk. :-)
Tony
--
---------------------------------------------------------------------
| Tony Printezis, Staff Engineer | Sun Microsystems Inc. |
| | MS UBUR02-311 |
| e-mail: tony.printezis at sun.com | 35 Network Drive |
| office: +1 781 442 0998 (x20998) | Burlington, MA 01803-2756, USA |
---------------------------------------------------------------------
e-mail client: Thunderbird (Linux)
More information about the hotspot-gc-dev
mailing list