8138922: StubCodeDesc constructor publishes partially-constructed objects on StubCodeDesc::_list

Severin Gehwolf sgehwolf at redhat.com
Wed Jul 4 07:23:38 UTC 2018


On Tue, 2018-07-03 at 10:11 -0700, Vladimir Kozlov wrote:
> There was also following fix in JDK 9 (and no backport to 8u) which 
> removed desc_for_index():
> 
> http://hg.openjdk.java.net/jdk/jdk/rev/cb578d8c6cba
> 
> I agree that both fixes should be backported. Or at least 8138922.

FWIW 8138922 JDK 8 backport won't apply cleanly. Looks like the
difference between 9 and 8 is part of 8046809.

Thanks,
Severin

> I also did not find any traces of backport requests and no labels were 
> added.
> 
> Regards,
> Vladimir
> 
> On 7/3/18 8:39 AM, Andrew Haley wrote:
> > This is bug:
> > 
> > 8138922: StubCodeDesc constructor publishes partially-constructed objects on StubCodeDesc::_list
> > 
> > Fixed in JDK 9 by:
> > 
> > http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/30b120bce29d
> > 
> > However, I am seeing crashes in 8u, and the fix was never back-ported.
> > 
> > I don't know why it wasn't back-ported, but I guess it should be.  I
> > can't find any discussion of a possible back-port.  Does anyone
> > remember?
> > 


More information about the jdk8u-dev mailing list