changeset 11995:b42ee214ca92

8165681: ClassLoad and ClassPrepare JVMTI events are missed in the start phase Summary: Add the events bits to the early events bits Reviewed-by: dholmes, dsamersoff
author sspitsyn
date Tue, 13 Sep 2016 13:10:42 -0700
parents 7c505133010d
children 639c30cd07a7 c86a798296ae
files src/share/vm/prims/jvmtiEventController.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiEventController.cpp	Thu Sep 08 23:43:45 2016 -0400
+++ b/src/share/vm/prims/jvmtiEventController.cpp	Tue Sep 13 13:10:42 2016 -0700
@@ -96,7 +96,7 @@
 static const jlong  THREAD_FILTERED_EVENT_BITS = INTERP_EVENT_BITS | EXCEPTION_BITS | MONITOR_BITS |
                                         BREAKPOINT_BIT | CLASS_LOAD_BIT | CLASS_PREPARE_BIT | THREAD_END_BIT;
 static const jlong  NEED_THREAD_LIFE_EVENTS = THREAD_FILTERED_EVENT_BITS | THREAD_START_BIT;
-static const jlong  EARLY_EVENT_BITS = CLASS_FILE_LOAD_HOOK_BIT |
+static const jlong  EARLY_EVENT_BITS = CLASS_FILE_LOAD_HOOK_BIT | CLASS_LOAD_BIT | CLASS_PREPARE_BIT |
                                VM_START_BIT | VM_INIT_BIT | VM_DEATH_BIT | NATIVE_METHOD_BIND_BIT |
                                THREAD_START_BIT | THREAD_END_BIT |
                                COMPILED_METHOD_LOAD_BIT | COMPILED_METHOD_UNLOAD_BIT |