mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-06 14:10:36 +00:00
8064348: Add TraceEvent::is_enabled() for embedded/minimal builds
Reviewed-by: ehelin, sla
This commit is contained in:
parent
894e9e8f87
commit
6e148efe69
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
|
||||
This code is free software; you can redistribute it and/or modify it
|
||||
@ -59,6 +59,7 @@ public:
|
||||
void set_starttime(const Ticks& time) {}
|
||||
void set_endtime(const Ticks& time) {}
|
||||
bool should_commit() const { return false; }
|
||||
static bool is_enabled() { return false; }
|
||||
void commit() const {}
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user