<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Aptos;
        panose-1:2 11 0 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:12.0pt;
        font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#467886;
        text-decoration:underline;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="en-SE" link="#467886" vlink="#96607D" style="word-wrap:break-word;line-break:after-white-space">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">After some review and discussion, I am closing
</span><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">the original PR
</span><b><span style="font-size:11.0pt;mso-fareast-language:EN-US"><a href="https://github.com/openjdk/jdk/pull/20988"><span style="font-weight:normal">8340363: Tag-specific default decorators for UnifiedLogging</span></a></span></b><b><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">and opening a new (simplified) version of this that aligns with the needed use cases in <a href="https://github.com/openjdk/jdk/pull/21383">8341622: Tag-specific disabled default
 decorators for UnifiedLogging</a>.</span><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">Antón<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="color:black">From:
</span></b><span style="color:black">hotspot-dev <hotspot-dev-retn@openjdk.org> on behalf of Anton Seoane Ampudia <anton.seoane.ampudia@oracle.com><br>
<b>Date: </b>Tuesday, 1 October 2024 at 13:44<br>
<b>To: </b>Kirk Pepperdine <kirk@kodewerk.com><br>
<b>Cc: </b>David Holmes <david.holmes@oracle.com>, hotspot-dev@openjdk.org <hotspot-dev@openjdk.org><br>
<b>Subject: </b>Re: [External] : Re: 8340363: Tag-specific default decorators for UnifiedLogging<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="ES" style="font-size:11.0pt">Hello,</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="ES" style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">This proposal is targeted only for those cases where Hotspot developers agree on undecorated output. For example, C2 developers with jit+inlining. Every other use of UL except for those specific
 (and previously socialized and agreed-upon) cases will keep being the same as it is right now.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">In summary, this is more of an ad-hoc proposal for the cases where some specific uses of -Xlog are always accompanied with ::none</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Regards,</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Antón</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<div id="mail-editor-reference-message-container">
<div>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="color:black">From:
</span></b><span style="color:black">Kirk Pepperdine <kirk@kodewerk.com><br>
<b>Date: </b>Monday, 30 September 2024 at 18:07<br>
<b>To: </b>Anton Seoane Ampudia <anton.seoane.ampudia@oracle.com><br>
<b>Cc: </b>David Holmes <david.holmes@oracle.com>, hotspot-dev@openjdk.org <hotspot-dev@openjdk.org><br>
<b>Subject: </b>[External] : Re: 8340363: Tag-specific default decorators for UnifiedLogging</span><o:p></o:p></p>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<div id="mail-editor-reference-message-container">
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt"><br>
So to be clear, is the proposal now to just drop the default decorators,<span class="apple-converted-space"> </span><br>
rather than allowing them to be replaced with alternate defaults? If<span class="apple-converted-space"> </span><br>
that is the case then it is the same as writing:<br>
<br>
-Xlog:A+B::none<br>
<br>
and I don't really see much value in that. But I wouldn't oppose it.</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I would. At a minimum you need a timestamp.<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<div id="mail-editor-reference-message-container">
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt"><br>
Allowing new defaults gives more flexibility - but obviously the<span class="apple-converted-space"> </span><br>
developers using the specific tag combinations have to agree on what<span class="apple-converted-space"> </span><br>
defaults to set.</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal">At the moment to get a reasonable GC log for G1, one needs to use the following setting.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">-Xlog:gc*,gc+ref=debug,gc+phases=debug,gc+age=debug,safepoint:file=gc.log<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Also, the “noise to signal” ratio in these logs is exceptionally high.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Kind regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Kirk<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>