RFR: 8212184: Incorrect oop ref strength used for referents in FinalReference

Erik Österlund erik.osterlund at oracle.com
Mon Oct 15 14:46:37 UTC 2018


Hi Per,

Looks good.

Thanks,
/Erik

On 2018-10-15 16:42, Per Liden wrote:
> AccessBarrierSupport::resolve_unknown_oop_ref_strength() returns an 
> incorrect oop ref strength for referents in FinalReference objects. It 
> currently returns ON_WEAK_OOP_REF when it should return 
> ON_STRONG_OOP_REF. This is not really an issue for any GC except ZGC 
> when using the ZHeapIterator to walk the heap while resurrection is 
> blocked.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8212184
> Webrev: http://cr.openjdk.java.net/~pliden/8212184/webrev.0
>
> /Per




More information about the hotspot-gc-dev mailing list