hotspot/src/share/vm/trace/traceDataTypes.hpp
changeset 46994 7663ce98384b
parent 40664 1ec65b303bb7
equal deleted inserted replaced
46992:95000145dd81 46994:7663ce98384b
     1 /*
     1 /*
     2  * Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    26 #define SHARE_VM_TRACE_TRACEDATATYPES_HPP
    26 #define SHARE_VM_TRACE_TRACEDATATYPES_HPP
    27 
    27 
    28 #include <stddef.h>
    28 #include <stddef.h>
    29 
    29 
    30 #include "utilities/globalDefinitions.hpp"
    30 #include "utilities/globalDefinitions.hpp"
       
    31 #include "utilities/ticks.hpp"
    31 
    32 
    32 enum {
    33 enum {
    33   CONTENT_TYPE_NONE             = 0,
    34   CONTENT_TYPE_NONE             = 0,
    34   CONTENT_TYPE_CLASS            = 20,
    35   CONTENT_TYPE_CLASS            = 20,
    35   CONTENT_TYPE_THREAD           = 22,
    36   CONTENT_TYPE_THREAD           = 22,
    52   EVENT_BUFFERLOST,
    53   EVENT_BUFFERLOST,
    53 
    54 
    54   NUM_RESERVED_EVENTS = JVM_CONTENT_TYPES_END
    55   NUM_RESERVED_EVENTS = JVM_CONTENT_TYPES_END
    55 };
    56 };
    56 
    57 
    57 typedef enum ReservedEvent ReservedEvent;
       
    58 
       
    59 typedef u8 traceid;
    58 typedef u8 traceid;
    60 
    59 
       
    60 class ClassLoaderData;
       
    61 class Klass;
       
    62 class Method;
    61 class ModuleEntry;
    63 class ModuleEntry;
    62 class PackageEntry;
    64 class PackageEntry;
    63 class Symbol;
    65 class Symbol;
    64 
    66 
    65 #endif // SHARE_VM_TRACE_TRACEDATATYPES_HPP
    67 #endif // SHARE_VM_TRACE_TRACEDATATYPES_HPP