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
christian.thalinger at oracle.com
Wed Sep 18 12:27:11 PDT 2013
On Sep 16, 2013, at 12:01 PM, Igor Veresov <igor.veresov at oracle.com> 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