1 |
765 |
jeremybenn |
JVMTI event notification tests
|
2 |
|
|
- enable tests -
|
3 |
|
|
created JVMTI environment #0
|
4 |
|
|
created JVMTI environment #1
|
5 |
|
|
created JVMTI environment #2
|
6 |
|
|
setting callbacks for envs
|
7 |
|
|
RequestedEvents:
|
8 |
|
|
enable VM_INIT for env0, env1, env2
|
9 |
|
|
RequestedEvents: VMInit,
|
10 |
|
|
enable VM_DEATH for env1,env2
|
11 |
|
|
RequestedEvents: VMInit,VMDeath,
|
12 |
|
|
enable THREAD_END for env2
|
13 |
|
|
RequestedEvents: VMInit,VMDeath,ThreadEnd,
|
14 |
|
|
disposing of env1
|
15 |
|
|
RequestedEvents: VMInit,VMDeath,ThreadEnd,
|
16 |
|
|
disposing of env0
|
17 |
|
|
RequestedEvents: VMInit,VMDeath,ThreadEnd,
|
18 |
|
|
disable VMInit in env2
|
19 |
|
|
RequestedEvents: VMDeath,ThreadEnd,
|
20 |
|
|
clear VMDeath callback in env2
|
21 |
|
|
RequestedEvents: ThreadEnd,
|
22 |
|
|
sending VMInit
|
23 |
|
|
sending ThreadEnd
|
24 |
|
|
ThreadEndCB jni_env=0x5678 thread=0x1234
|
25 |
|
|
sending VMDeath
|
26 |
|
|
disposing of env2
|
27 |
|
|
RequestedEvents:
|
28 |
|
|
- callback arg tests -
|
29 |
|
|
RequestedEvents: 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,
|
30 |
|
|
VMInitCB jni_env=0x1 thread=0x2
|
31 |
|
|
VMDeathCB jni_env=0x1
|
32 |
|
|
ThreadStartCB jni_env=0x1 thread=0x2
|
33 |
|
|
ThreadEndCB jni_env=0x1 thread=0x2
|
34 |
|
|
ClassFileLoadHookCB 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
|
35 |
|
|
ClassLoadCB jni_env=0x1 thread=0x2 klass=0x3
|
36 |
|
|
ClassPrepareCB jni_env=0x1 thread=0x2 klass=0x3
|
37 |
|
|
VMStartCB jni_env=0x1
|
38 |
|
|
ExceptionCB jni_env=0x1 thread=0x2 method=0x3 location=0x4 exception=0x5 catch_method=0x6 catch_location=0x7
|
39 |
|
|
ExceptionCatchCB jni_env=0x1 thread=0x2 method=0x3 location=0x4 exception=0x5
|
40 |
|
|
SingleStepCB jni_env=0x1 thread=0x2 method=0x3 location=0x4
|
41 |
|
|
FramePopCB jni_env=0x1 thread=0x2 method=0x3 was_pooped_by_exception=1
|
42 |
|
|
BreakpointCB jni_env=0x1 thread=0x2 method=0x3 location=0x4
|
43 |
|
|
FieldAccessCB jni_env=0x1 thread=0x2 method=0x3 location=0x4 field_klass=0x5 object=0x6 field=0x7
|
44 |
|
|
FieldModificationCB jni_env=0x1 thread=0x2 method=0x3 location=0x4 field_klass=0x5 object=0x6 field=0x7 signature_type=8 new_value=0x9
|
45 |
|
|
MethodEntryCB jni_env=0x1 thread=0x2 method=0x3
|
46 |
|
|
MethodExitCB jni_env=0x1 thread=0x2 method=0x3 was_popped_by_exception=1 return_value=5
|
47 |
|
|
NativeMethodBindCB jni_env=0x1 thread=0x2 method=0x3 address=0x4 new_address_ptr=0x5
|
48 |
|
|
CompiledMethodLoadCB method=0x1 code_size=0x2 code_addr=0x3 map_length=4 map=0x5 compile_info=0x6
|
49 |
|
|
CompiledMethodUnloadCB method=0x1 code_addr=0x2
|
50 |
|
|
DynamicCodeGeneratedCB name=1 address=0x2 length=3
|
51 |
|
|
DataDumpRequestCB
|
52 |
|
|
MonitorWaitCB jni_env=0x1 thread=0x2 object=0x3 timeout=4
|
53 |
|
|
MonitorWaitedCB jni_env=0x1 thread=0x2 object=0x3 timed_out=1
|
54 |
|
|
MonitorContendedEnterCB jni_env=0x1 thread=0x2 object=0x3
|
55 |
|
|
MonitorContendedEnteredCB jni_env=0x1 thread=0x2 object=0x3
|
56 |
|
|
GarbageCollectionStartCB
|
57 |
|
|
GarbageCollectionFinishCB
|
58 |
|
|
ObjectFreeCB tag=1
|
59 |
|
|
VMObjectAllocCB jni_env=0x1 thread=0x2 object=0x3 object_klass=0x4 size=5
|