RFR (S): 8142482: Improve the support for prefix functions in unified logging

Bengt Rutisson bengt.rutisson at oracle.com
Wed Nov 11 16:34:49 UTC 2015


Hi Marcus.

On 2015-11-11 15:19, Marcus Larsson wrote:
> Hi,
>
> Please review the following small patch to improve the support for 
> prefixes in unified logging.
>
> Instead of the previous format and value/callback, a prefix is now 
> defined as a function that receives the log buffer as argument,
> allowing it to fill in an arbitrary (or empty!) prefix. (This enables 
> GCId-prefixing to be skipped when GCId is undefined, for example.)
>
> Webrev:
> http://cr.openjdk.java.net/~mlarsson/8142482/webrev.00/
>
> Issue:
> https://bugs.openjdk.java.net/browse/JDK-8142482

Looks good. Thanks for fixing this!

Bengt

>
> Thanks,
> Marcus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20151111/41af79f9/attachment.html>


More information about the serviceability-dev mailing list