Request for review (XS): 8012455: Missing time and date stamps for PrintGCApplicationConcurrentTime and PrintGCApplicationStoppedTime

Kirk Pepperdine kirk at kodewerk.com
Wed Apr 17 12:44:48 UTC 2013


Hi,

I'm going to complain on the parsability comment  ;-). Logs are already very difficult to parse.. and adding DateStamps makes them particularly nasty. Problem is, they are inconsistently implemented across different configurations.

Regards,
Kirk
On 2013-04-17, at 2:31 PM, Coleen Phillimore <coleen.phillimore at oracle.com> wrote:

> 
> I think this is noreg-sqe ?   Do you have a pointer to this document?
> Here is the pointer to the description for labels for regression or no 
> regression tests on fixed bugs:
> 
> http://openjdk.java.net/guide/changePlanning.html#bug
> 
> See Step #6
> 
> Coleen
> 
> On 4/17/2013 7:01 AM, Bengt Rutisson wrote:
>> 
>> Leonid,
>> 
>> Thanks for looking at this.
>> 
>> On 4/17/13 12:16 PM, Leonid Mesnik wrote:
>>> Bengt 
>>> 
>>> Could you please add a unit test for this fix. 
>> 
>> I am not too keen on writing a test for this. I see your point, but the fix is very small and we already have lots of code that does the same thing without any tests. If we should add a test I think it should be for PrintGCTimeStamps and PrintGCDateStamps in general. However, I don't think our logging is parsable enough to make such a test stable. Timestamps can get mixed in in the middle of lines and unexpected messages can be logged at almost any point in time.
>> 
>> Thanks,
>> Bengt
>> 
>> 
>> 
>>> 
>>> Leonid 
>>> On 04/17/2013 12:47 PM, Bengt Rutisson wrote: 
>>>> 
>>>> Hi all, 
>>>> 
>>>> Can I have a couple of reviews for this very small change? 
>>>> 
>>>> http://cr.openjdk.java.net/~brutisso/8012455/webrev.00/ 
>>>> 
>>>> Background 
>>>> 
>>>> A customer commented that it is hard to coordinate the information from PrintGCApplicationConcurrentTime and PrintGCApplicationStoppedTime with the information from PrintGC and PrintGCDetails in stable way since the former flags don't include timestamps. 
>>>> 
>>>> This patch adds time and date stamps to the output from PrintGCApplicationConcurrentTime and PrintGCApplicationStoppedTime. 
>>>> 
>>>> Thanks, 
>>>> Bengt 
>>> 
>>> 
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20130417/1de0cad0/attachment.htm>


More information about the hotspot-gc-dev mailing list