> The VMObjectAlloc jvmti event was not generated for objects created using 
> MethodHanldle. The fix adds posting of the event into Unsafe_AllocateInstance.
> 
> While fixing this bug I noticed that event is not posted in the intrinsics 
> version for many functions where it is used. Including  but not limited to 
> clone(), invoke()m allocateInstance() and allocateUninitializedArray(). There 
> are might be other intensified functions (not analogs JVM_ENTRY versions) 
> that allocate objects without post events. 
> 
> I think it is needed to implement some common way to handle this and cover it 
> in another issue.

Leonid Mesnik has updated the pull request incrementally with one additional 
commit since the last revision:

  fixed

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6478/files
  - new: https://git.openjdk.java.net/jdk/pull/6478/files/e160dbe3..b37ee052

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6478&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6478&range=00-01

  Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6478.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6478/head:pull/6478

PR: https://git.openjdk.java.net/jdk/pull/6478

Reply via email to