src/hotspot/share/jfr/support/jfrKlassExtension.hpp
branchJEP-349-branch
changeset 57360 5d043a159d5c
parent 53244 9807daeb47c4
equal deleted inserted replaced
57359:4cab5edc2950 57360:5d043a159d5c
    34 #define KLASS_TRACE_ID_OFFSET InstanceKlass::trace_id_offset()
    34 #define KLASS_TRACE_ID_OFFSET InstanceKlass::trace_id_offset()
    35 
    35 
    36 #define JDK_JFR_EVENT_SUBKLASS 16
    36 #define JDK_JFR_EVENT_SUBKLASS 16
    37 #define JDK_JFR_EVENT_KLASS    32
    37 #define JDK_JFR_EVENT_KLASS    32
    38 #define EVENT_HOST_KLASS       64
    38 #define EVENT_HOST_KLASS       64
       
    39 #define EVENT_RESERVED         128
    39 #define IS_EVENT_KLASS(ptr) (((ptr)->trace_id() & (JDK_JFR_EVENT_KLASS | JDK_JFR_EVENT_SUBKLASS)) != 0)
    40 #define IS_EVENT_KLASS(ptr) (((ptr)->trace_id() & (JDK_JFR_EVENT_KLASS | JDK_JFR_EVENT_SUBKLASS)) != 0)
    40 #define ON_KLASS_CREATION(k, p, t) if (IS_EVENT_KLASS(k)) JfrEventClassTransformer::on_klass_creation(k, p, t)
    41 #define ON_KLASS_CREATION(k, p, t) if (IS_EVENT_KLASS(k)) JfrEventClassTransformer::on_klass_creation(k, p, t)
    41 
    42 
    42 #endif // SHARE_JFR_SUPPORT_JFRKLASSEXTENSION_HPP
    43 #endif // SHARE_JFR_SUPPORT_JFRKLASSEXTENSION_HPP