8205113: Update JVMTI doc references to object allocation tracking
Update the JVMTI VMObjectAlloc spec Reviewed-by: dholmes, sspitsyn
This commit is contained in:
parent
1a1303e1a6
commit
c1cfcdcd25
@ -13507,9 +13507,8 @@ myInit() {
|
|||||||
<event label="VM Object Allocation"
|
<event label="VM Object Allocation"
|
||||||
id="VMObjectAlloc" const="JVMTI_EVENT_VM_OBJECT_ALLOC" num="84">
|
id="VMObjectAlloc" const="JVMTI_EVENT_VM_OBJECT_ALLOC" num="84">
|
||||||
<description>
|
<description>
|
||||||
Sent when a method causes the virtual machine to allocate an
|
Sent when a method causes the virtual machine to directly allocate an
|
||||||
Object visible to Java programming language code and the
|
Object visible to Java programming language code.
|
||||||
allocation is not detectable by other intrumentation mechanisms.
|
|
||||||
Generally object allocation should be detected by instrumenting
|
Generally object allocation should be detected by instrumenting
|
||||||
the bytecodes of allocating methods.
|
the bytecodes of allocating methods.
|
||||||
Object allocation generated in native code by JNI function
|
Object allocation generated in native code by JNI function
|
||||||
@ -13520,6 +13519,12 @@ myInit() {
|
|||||||
VM. These methods should send this event.
|
VM. These methods should send this event.
|
||||||
Virtual machines which are incapable of bytecode instrumentation
|
Virtual machines which are incapable of bytecode instrumentation
|
||||||
for some or all of their methods can send this event.
|
for some or all of their methods can send this event.
|
||||||
|
|
||||||
|
Note that the <internallink
|
||||||
|
id="SampledObjectAlloc">SampledObjectAlloc</internallink>
|
||||||
|
event is triggered on all Java object allocations, including those
|
||||||
|
caused by bytecode method execution, JNI method execution, and
|
||||||
|
directly by VM methods.
|
||||||
<p/>
|
<p/>
|
||||||
Typical examples where this event might be sent:
|
Typical examples where this event might be sent:
|
||||||
<ul>
|
<ul>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user