1JVMTI event notification tests
2- enable tests -
3created JVMTI environment #0
4created JVMTI environment #1
5created JVMTI environment #2
6setting callbacks for envs
7RequestedEvents:
8enable VM_INIT for env0, env1, env2
9RequestedEvents: VMInit,
10enable VM_DEATH for env1,env2
11RequestedEvents: VMInit,VMDeath,
12enable THREAD_END for env2
13RequestedEvents: VMInit,VMDeath,ThreadEnd,
14disposing of env1
15RequestedEvents: VMInit,VMDeath,ThreadEnd,
16disposing of env0
17RequestedEvents: VMInit,VMDeath,ThreadEnd,
18disable VMInit in env2
19RequestedEvents: VMDeath,ThreadEnd,
20clear VMDeath callback in env2
21RequestedEvents: ThreadEnd,
22sending VMInit
23sending ThreadEnd
24ThreadEndCB jni_env=0x5678 thread=0x1234
25sending VMDeath
26disposing of env2
27RequestedEvents:
28- callback arg tests -
29RequestedEvents: VMInit,VMDeath,ThreadStart,ThreadEnd,ClassFileLoadHook,ClassLoad,ClassPrepare,VMStart,Exception,ExceptionCatch,SingleStep,FramePop,Breakpoint,FieldAccess,FieldModification,MethodEntry,MethodExit,NativeMethodBind,CompiledMethodLoad,CompiledMethodUnload,DynamicCodeGenerated,DataDumpRequest,MonitorWait,MonitorWaited,MonitorContendedEnter,MonitorContendedEntered,GarbageCollectionStart,GarbageCollectionFinish,ObjectFree,VMObjectAlloc,
30VMInitCB jni_env=0x1 thread=0x2
31VMDeathCB jni_env=0x1
32ThreadStartCB jni_env=0x1 thread=0x2
33ThreadEndCB jni_env=0x1 thread=0x2
34ClassFileLoadHookCB jni_env=0x1 class_being_redefined=0x2 loader=0x3 name=4 protection_domain=0x5 class_data_len=6 class_data=0x7 new_class_data_len=0x8 new_class_data=0x9
35ClassLoadCB jni_env=0x1 thread=0x2 klass=0x3
36ClassPrepareCB jni_env=0x1 thread=0x2 klass=0x3
37VMStartCB jni_env=0x1
38ExceptionCB jni_env=0x1 thread=0x2 method=0x3 location=0x4 exception=0x5 catch_method=0x6 catch_location=0x7
39ExceptionCatchCB jni_env=0x1 thread=0x2 method=0x3 location=0x4 exception=0x5
40SingleStepCB jni_env=0x1 thread=0x2 method=0x3 location=0x4
41FramePopCB jni_env=0x1 thread=0x2 method=0x3 was_pooped_by_exception=1
42BreakpointCB  jni_env=0x1 thread=0x2 method=0x3 location=0x4
43FieldAccessCB jni_env=0x1 thread=0x2 method=0x3 location=0x4 field_klass=0x5 object=0x6 field=0x7
44FieldModificationCB  jni_env=0x1 thread=0x2 method=0x3 location=0x4 field_klass=0x5 object=0x6 field=0x7 signature_type=8 new_value=0x9
45MethodEntryCB jni_env=0x1 thread=0x2 method=0x3
46MethodExitCB jni_env=0x1 thread=0x2 method=0x3 was_popped_by_exception=1 return_value=5
47NativeMethodBindCB jni_env=0x1 thread=0x2 method=0x3 address=0x4 new_address_ptr=0x5
48CompiledMethodLoadCB method=0x1 code_size=0x2 code_addr=0x3 map_length=4 map=0x5 compile_info=0x6
49CompiledMethodUnloadCB method=0x1 code_addr=0x2
50DynamicCodeGeneratedCB name=1 address=0x2 length=3
51DataDumpRequestCB
52MonitorWaitCB jni_env=0x1 thread=0x2 object=0x3 timeout=4
53MonitorWaitedCB jni_env=0x1 thread=0x2 object=0x3 timed_out=1
54MonitorContendedEnterCB jni_env=0x1 thread=0x2 object=0x3
55MonitorContendedEnteredCB jni_env=0x1 thread=0x2 object=0x3
56GarbageCollectionStartCB
57GarbageCollectionFinishCB
58ObjectFreeCB tag=1
59VMObjectAllocCB jni_env=0x1 thread=0x2 object=0x3 object_klass=0x4 size=5
60