src/share/vm/trace/traceEventClasses.xsl
Print this page
rev 7560 : 8066814: Reduce accessibility in TraceEvent
Reviewed-by:
@@ -51,15 +51,16 @@
#else // !INCLUDE_TRACE
class TraceEvent {
public:
TraceEvent() {}
- void set_starttime(const Ticks& time) {}
- void set_endtime(const Ticks& time) {}
+ void set_starttime(const Ticks& ignore) {}
+ void set_endtime(const Ticks& ignore) {}
bool should_commit() const { return false; }
static bool is_enabled() { return false; }
- void commit() const {}
+ void commit() {}
+ void cancel() {}
};
<xsl:apply-templates select="trace/events/struct" mode="empty"/>
<xsl:apply-templates select="trace/events/event" mode="empty"/>