Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6343313

overflow during recursion through inputs of nodes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • hotspot
    • b63
    • generic, sparc
    • generic, solaris_9

      Both the null check eliminator and the use count computation traverse the inputs of a node using recursion. For complicated expressions this can cause a stack overflow in the compiler resulting in a crash. This has always existed in C1 but the new SSA parser doesn't pin as much so the overflows are easier to cause. I've attached ovf.java which induces the problem in all versions of C1.
      The following test case also fails due to the similar issue mentioned in the duplicate bug # 6344424

      Test Case : nsk/regression/b6227033

            never Tom Rodriguez
            never Tom Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: