RFR(S) 8218700: infinite loop in HotSpotJVMCIMetaAccessContext.fromClass after OutOfMemoryError

dean.long at oracle.com dean.long at oracle.com
Fri Apr 26 19:09:38 UTC 2019


If we throw an OutOfMemoryError in the right place (see JDK-8222941), 
HotSpotJVMCIMetaAccessContext.fromClass can go into an infinite loop 
calling ClassValue.remove.  To work around the problem, reset the value 
in a mutable cell instead of calling remove.


More information about the graal-dev mailing list