RFR: 8152711: Create a non-template Log wrapper class

Stefan Karlsson stefan.karlsson at oracle.com
Tue Mar 29 13:48:28 UTC 2016

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 mailing list