United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7022204 LogFile wildcarding should use %p instead of star
JDK-7022204 : LogFile wildcarding should use %p instead of star

Details
Type:
Bug
Submit Date:
2011-02-24
Status:
Closed
Updated Date:
2011-04-24
Project Name:
JDK
Resolved Date:
2011-04-24
Component:
hotspot
OS:
solaris_10
Sub-Component:
compiler
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs21
Fixed Versions:
hs21 (b07)

Related Reports
Backport:

Sub Tasks

Description
Currently to get wildcarding in the LogFile you have to use * which is very unfriendly for scripting.  We should use %p as we do in other places.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/29524004ce17
                                     
2011-03-26
EVALUATION

7022204: LogFile wildcarding should use %p instead of star
Reviewed-by: coleenp, jrose

Currently to get wildcarding in the LogFile name you have to use *
which is very unfriendly for shell scripts.  We should use %p as we do
in other places.  It still accepts * and will convert it in preference
to %p.  I considered switching to using Arguments::copy_expand_pid but
it would change the behaviour of the flag in an incompatible way so I
just augmented the existing logic slightly.  Tested with various
command line flags.
                                     
2011-03-28



Hardware and Software, Engineered to Work Together