RFR(S) 8023542: Test java/io/File/CheckPermission.java fails due to unfinished recursion (java.lang.StackOverflowError) when JIT'ed code (-client, -server) is running
vladimir.kozlov at oracle.com
Mon Sep 16 13:45:31 PDT 2013
On 9/16/13 12:01 PM, Igor Veresov wrote:
> In checkcast c1 delays the null check of the argument object until it materializes the reference to the klass against which the check is performed. The materialization can lead to patching, and class loading, which is this particular test leads to infinite recursion. Checkcast should check for null first. Fix is to move the null check up (sparc is not affected).
> Webrev: http://cr.openjdk.java.net/~iveresov/8023542/
> Testing: the failing test cast, jprt
More information about the hotspot-compiler-dev