src/share/vm/trace/traceDataTypes.hpp

Print this page
rev 13113 : 8182651: Add TRACE_ONLY conditional macro to support more fine-grained INCLUDE_TRACE programming
Reviewed-by:

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2017, 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -23,12 +23,10 @@
  */
 
 #ifndef SHARE_VM_TRACE_TRACEDATATYPES_HPP
 #define SHARE_VM_TRACE_TRACEDATATYPES_HPP
 
-#include <stddef.h>
-
 #include "utilities/globalDefinitions.hpp"
 
 enum {
   CONTENT_TYPE_NONE             = 0,
   CONTENT_TYPE_CLASS            = 20,

@@ -52,12 +50,10 @@
   EVENT_BUFFERLOST,
 
   NUM_RESERVED_EVENTS = JVM_CONTENT_TYPES_END
 };
 
-typedef enum ReservedEvent ReservedEvent;
-
 typedef u8 traceid;
 
 class ModuleEntry;
 class PackageEntry;
 class Symbol;