[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Integrated: 8265795: vmTestbase/nsk/jvmti/AttachOnDemand/attach022/TestDescription.java fails when
From:       Leonid Mesnik <lmesnik () openjdk ! java ! net>
Date:       2021-11-22 17:14:29
Message-ID: QpF0_ZjMxJjatZD6KGDjjfew6nA_W5-pLDgOah9dY6o=.304d2f11-2682-4f91-85f4-037ada596866 () github ! com
[Download RAW message or body]

On Fri, 19 Nov 2021 15:32:24 GMT, Leonid Mesnik <lmesnik@openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 33e2a518
Author:    Leonid Mesnik <lmesnik@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/33e2a518ebcd50e76c559512539fd7c864fd2407
                
Stats:     148 lines in 4 files changed: 146 ins; 2 del; 0 mod

8265795: vmTestbase/nsk/jvmti/AttachOnDemand/attach022/TestDescription.java fails \
when running with JEP 416

Reviewed-by: sspitsyn, dholmes

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic