Integrated: 8253525: Implement getInstanceSize/sizeOf intrinsics

2020-11-13 Thread Aleksey Shipilev
On Wed, 14 Oct 2020 10:11:23 GMT, Aleksey Shipilev wrote: > This is fork off the SizeOf JEP, JDK-8249196. There is already the entry > point in JDK that can use the intrinsic like this: > `Instrumentation.getInstanceSize`. Therefore, we can implement the C1/C2 > intrinsic now, hook it up to `I

Re: RFR: 8253525: Implement getInstanceSize/sizeOf intrinsics [v5]

2020-11-13 Thread Aleksey Shipilev
On Wed, 21 Oct 2020 17:33:27 GMT, Vladimir Kozlov wrote: >> Aleksey Shipilev has updated the pull request with a new target base due to >> a merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains five additional >>

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

2020-11-13 Thread Stefan Karlsson
On Fri, 13 Nov 2020 14:11:23 GMT, Stefan Karlsson 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 in

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

2020-11-13 Thread Stefan Karlsson
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

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

2020-11-13 Thread Coleen Phillimore
On Fri, 13 Nov 2020 14:11:23 GMT, Stefan Karlsson 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 in

Re: RFR: 8244679: JVM/TI GetCurrentContendedMonitor/contmon001 failed due to "(IsSameObject#3) unexpected monitor object: 0x000000562336DBA8" [v2]

2020-11-13 Thread Robbin Ehn
On Fri, 13 Nov 2020 05:28:40 GMT, Serguei Spitsyn wrote: >> I have updated the bug report. I am not convinced the underlying issue has >> been identified. > >> @sspitsyn What do you think about this ? > > Hi Robbin, > I'm not sure, a conclusion about the failure mode and root cause is correct.

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

2020-11-13 Thread Serguei Spitsyn
On Fri, 13 Nov 2020 14:11:23 GMT, Stefan Karlsson 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 in