RFR: 8152711: Create a non-template Log wrapper class
robbin.ehn at oracle.com
Tue Mar 29 15:55:56 UTC 2016
Hi Stefan, looks good to me.
On 03/29/2016 03:48 PM, Stefan Karlsson wrote:
> Hi all,
> Please review this patch to introduce type-erased Log and LogTarget
> wrapper classes. These classes can be used where we don't want or can't
> use the template parameters associated with the Log and LogTarget classes.
> The patch is applied on top of the patch in:
> I've received internal feedback that we probably want to reuse the
> LogTagSet instances. I'd prefer if that could be prototyped and
> implemented as a separate RFE.
> I've changed the implementation of GCTraceTime to show how LogHandles
> can be used to lower the amount of template parameters used throughout
> the implementation.
> Test: new internal vm test, jprt
More information about the hotspot-dev