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

List:       openjdk-serviceability-dev
Subject:    Re: RFR: 8280555: serviceability/sa/TestObjectMonitorIterate.java is failing due to ObjectMonitor re
From:       Chris Plummer <cjplummer () openjdk ! java ! net>
Date:       2022-01-28 18:55:13
Message-ID: jqMVsYi9v5wU0-3aZFrZ1HN6zQhi-BfGGiEopKi95D0=.8b2d57bb-52b1-40a9-a98d-052dfa53d93d () github ! com
[Download RAW message or body]

On Wed, 26 Jan 2022 20:15:59 GMT, Chris Plummer <cjplummer@openjdk.org> wrote:

> This test is failing in the loom repo when using -Xcomp. The reason is because loom \
> introduced doing a full GC in the codecache sweeper, which causes some of the \
> Objects referenced by ObjectMonitors to be GC'd. The fix is to check for the null \
> Objects so we don't get an NPE. 
> I'm choosing to fix this in the jdk repo rather than the loom repo since it is a \
> latent bug that theoretically could occur even without the loom changes, and also \
> to help reduce the amount of changes to be reviewed when loom is integrated into \
> jdk.

Thanks for the reviews Serguei and Leonid!

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

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


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

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