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

List:       openjdk-serviceability-dev
Subject:    Integrated: 8256337: ap01t001.cpp, 67: Received unexpected number of ObjectFree events: 7
From:       Stefan Karlsson <stefank () openjdk ! java ! net>
Date:       2020-11-16 8:01:58
Message-ID: eB0drUKpCVp9GvtG_WPQaElYpmKmbw_2jNjyx1HsKv0=.ad0c5e60-918e-4104-bba4-b253f06c1b68 () github ! com
[Download RAW message or body]

On Fri, 13 Nov 2020 14:11:23 GMT, Stefan Karlsson <stefank@openjdk.org> wrote:

> The ap01t001 test creates six extra instances of the tested class, let them die, \
> and then checks that it gets exactly six ObjectFree callbacks. The problem is that \
> this is verified in the VMDeath callback and at that point the instance has gone \
> out-of-scope and and a seventh ObjectFree event has been triggered. 
> My proposed fix is to ensure that the test instance is kept alive.

This pull request has now been integrated.

Changeset: 6a69e304
Author:    Stefan Karlsson <stefank@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/6a69e304
Stats:     3 lines in 1 file changed: 2 ins; 0 del; 1 mod

8256337: ap01t001.cpp, 67: Received unexpected number of ObjectFree events: 7

Reviewed-by: coleenp, sspitsyn

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

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


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

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