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

Vladimir Kozlov vladimir.kozlov at oracle.com
Tue Jul 3 17:11:45 UTC 2018


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.

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