Print this page
rev 6909 : 8065361: Fixup headers and definitions for INCLUDE_TRACE
Reviewed-by: sla, stefank

Split Split Close
Expand all
Collapse all
          --- old/hotspot/src/share/vm/trace/traceBackend.hpp
          +++ new/hotspot/src/share/vm/trace/traceBackend.hpp
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18   *
  19   19   * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20   20   * or visit www.oracle.com if you need additional information or have any
  21   21   * questions.
  22   22   *
  23   23   */
  24   24  #ifndef SHARE_VM_TRACE_TRACEBACKEND_HPP
  25   25  #define SHARE_VM_TRACE_TRACEBACKEND_HPP
  26   26  
  27   27  #include "utilities/macros.hpp"
  28      -
  29   28  #if INCLUDE_TRACE
  30      -
  31   29  #include "runtime/globals.hpp"
  32   30  #include "runtime/os.hpp"
  33   31  #include "trace/traceTime.hpp"
  34   32  #include "tracefiles/traceEventIds.hpp"
  35   33  
  36   34  class TraceBackend {
  37   35  public:
  38   36    static bool enabled(void) {
  39   37      return EnableTracing;
  40   38    }
↓ open down ↓ 10 lines elided ↑ open up ↑
  51   49    }
  52   50  };
  53   51  
  54   52  class TraceThreadData {
  55   53  public:
  56   54      TraceThreadData() {}
  57   55  };
  58   56  
  59   57  typedef TraceBackend Tracing;
  60   58  
  61      -#else /* INCLUDE_TRACE */
  62      -
       59 +#else // !INCLUDE_TRACE
  63   60  #include "trace/noTraceBackend.hpp"
  64      -
  65      -#endif /* INCLUDE_TRACE */
  66      -#endif /* SHARE_VM_TRACE_TRACEBACKEND_HPP */
       61 +#endif // INCLUDE_TRACE
       62 +#endif // SHARE_VM_TRACE_TRACEBACKEND_HPP
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX