< prev index next >
src/hotspot/share/prims/jvmtiImpl.hpp
Print this page
*** 438,448 ****
private:
typedef enum {
TYPE_NONE,
TYPE_COMPILED_METHOD_LOAD,
TYPE_COMPILED_METHOD_UNLOAD,
! TYPE_DYNAMIC_CODE_GENERATED
} Type;
Type _type;
union {
nmethod* compiled_method_load;
--- 438,449 ----
private:
typedef enum {
TYPE_NONE,
TYPE_COMPILED_METHOD_LOAD,
TYPE_COMPILED_METHOD_UNLOAD,
! TYPE_DYNAMIC_CODE_GENERATED,
! TYPE_CLASS_UNLOADED
} Type;
Type _type;
union {
nmethod* compiled_method_load;
*** 454,463 ****
--- 455,467 ----
struct {
const char* name;
const void* code_begin;
const void* code_end;
} dynamic_code_generated;
+ struct {
+ const char* name;
+ } class_unloaded;
} _event_data;
JvmtiDeferredEvent(Type t) : _type(t) {}
public:
*** 470,479 ****
--- 474,485 ----
static JvmtiDeferredEvent compiled_method_unload_event(nmethod* nm,
jmethodID id, const void* code) NOT_JVMTI_RETURN_(JvmtiDeferredEvent());
static JvmtiDeferredEvent dynamic_code_generated_event(
const char* name, const void* begin, const void* end)
NOT_JVMTI_RETURN_(JvmtiDeferredEvent());
+ static JvmtiDeferredEvent class_unload_event(
+ const char* name) NOT_JVMTI_RETURN_(JvmtiDeferredEvent());
// Actually posts the event.
void post() NOT_JVMTI_RETURN;
};
< prev index next >