src/hotspot/share/jfr/utilities/jfrTypes.hpp
branchJEP-349-branch
changeset 57887 a9cc3698a55c
parent 57886 87f8a814310d
child 57983 a57907813a83
equal deleted inserted replaced
57886:87f8a814310d 57887:a9cc3698a55c
    24 
    24 
    25 #ifndef SHARE_JFR_UTILITIES_JFRTYPES_HPP
    25 #ifndef SHARE_JFR_UTILITIES_JFRTYPES_HPP
    26 #define SHARE_JFR_UTILITIES_JFRTYPES_HPP
    26 #define SHARE_JFR_UTILITIES_JFRTYPES_HPP
    27 
    27 
    28 #include "jfrfiles/jfrEventIds.hpp"
    28 #include "jfrfiles/jfrEventIds.hpp"
    29 #include "memory/allocation.hpp"
       
    30 #include "utilities/globalDefinitions.hpp"
       
    31 
    29 
    32 typedef u8 traceid;
    30 typedef u8 traceid;
    33 typedef int fio_fd;
    31 typedef int fio_fd;
       
    32 
       
    33 const char* const MAGIC = "FLR";
       
    34 const u2 JFR_VERSION_MAJOR = 2;
       
    35 const u2 JFR_VERSION_MINOR = 0;
       
    36 const u1 COMPLETE = 0;
       
    37 const u1 GUARD = 0xff;
       
    38 const u1 PAD = 0;
       
    39 
    34 const int invalid_fd = -1;
    40 const int invalid_fd = -1;
    35 const jlong invalid_offset = -1;
    41 const jlong invalid_offset = -1;
    36 const int64_t invalid_time = -1;
    42 const int64_t invalid_time = -1;
    37 const u4 STACK_DEPTH_DEFAULT = 64;
    43 const u4 STACK_DEPTH_DEFAULT = 64;
    38 const u4 MIN_STACK_DEPTH = 1;
    44 const u4 MIN_STACK_DEPTH = 1;