RFR: 8198492: java/lang/StackWalker/CallerFromMain.java failed timeout.

mandy chung mandy.chung at oracle.com
Mon Feb 26 16:46:16 UTC 2018

On 2/25/18 3:51 PM, Claes Redestad wrote:
> Hi,
> the JDK-8198418[1] improvements to lambda bootstrapping meant
> initialization changed around to allow the possibility of a
> bootstrap race, which made it possible to cause a class loading
> deadlock when different threads try to initialize classes like
> SimpleMethodHandle and SpeciesData at the same time.
> Making sure the common ancestor, BoundMethodHandle, is initialized
> using the same means before going into the synchronized block in
> LambdaForm:createFormsFor seems to be enough to ensure this race
> can always be resolved peacefully:
> http://cr.openjdk.java.net/~redestad/8198492/jdk.00/

This looks okay.


More information about the core-libs-dev mailing list