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

Per Liden per.liden at oracle.com
Fri Nov 13 08:20:46 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/

Looks good.

/Per

>
> Issue:
> https://bugs.openjdk.java.net/browse/JDK-8142482
>
> Thanks,
> Marcus


More information about the serviceability-dev mailing list