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

Recursive failure in split if with Java2Demo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.1
    • 1.3.1, 1.4.0
    • hotspot
    • rc1
    • x86, sparc
    • solaris_8, windows_2000


        Running the merlin_beta tree as of 1/23/01 (midday), the Java2Demo fails.

        java -server -verbosegc -Xcomp -Xbatch -jar Java2Demo.jar -runs=2

        Gets a matcher failure (Paul Hohensee told me he's working on that),
        and at a later point, C2 thrashes, recursing in this area:
          [4] Node_Array::grow(0xf2000c6c, 0x0, 0x800000, 0xf2000c6c, 0x26d98524, 0x26d98524), at 0xfe0f2120
          [5] PhaseIdealLoop::split_up(0xb63081, 0x26d98524, 0xb62404, 0xb6274c, 0x0, 0x26d984e8), at 0xfe12a7b4
          [6] PhaseIdealLoop::split_up(0x2, 0x5ee, 0xb62404, 0x63b268, 0xd4fa8, 0xb63080), at 0xfe129bec
        =>[7] PhaseIdealLoop::split_up(0x2, 0x5ef, 0xb62404, 0x63b28c, 0x4c5138, 0xb63080), at 0xfe129bec
          [8] PhaseIdealLoop::do_split_if(0xf2000c6c, 0x7, 0x0, 0xb60e38, 0xb62404, 0xfe50ad00), at 0xfe1de330
          [9] PhaseIdealLoop::split_if_with_blocks_post(0x412444, 0xf2000c64, 0xb62c1c, 0xf2000c5c, 0xb62c44, 0xb63080), at 0xfe0bbeec
          [10] PhaseIdealLoop::split_if_with_blocks(0x3, 0xb625ac, 0xf2000c5c, 0xf2000bc8, 0x93, 0x71), at 0xfe0b5480
          [11] PhaseIdealLoop::split_if_with_blocks(0x7, 0xb62404, 0xf2000c5c, 0xf2000bc8, 0x27, 0xd3), at 0xfe0b5480
          [12] PhaseIdealLoop::split_if_with_blocks(0x2, 0xb610f0, 0xf2000c5c, 0xf2000bc8, 0x26, 0xcc), at 0xfe0b5480
          [13] PhaseIdealLoop::split_if_with_blocks(0x1, 0xb60e7c, 0xf2000c5c, 0xf2000bc8, 0xf2000c6c, 0xf2000c5c), at 0xfe0b5480
          [14] PhaseIdealLoop::split_if_with_blocks(0x1, 0xb60e38, 0xf2000c5c, 0xf2000bc8, 0x22, 0xb5f668), at 0xfe0b5480
          [15] PhaseIdealLoop::split_if_with_blocks(0x1, 0xb5fad0, 0xf2000c5c, 0xf2000bc8, 0x92, 0xd), at 0xfe0b5480
          [16] PhaseIdealLoop::split_if_with_blocks(0x4, 0xb5f668, 0xf2000c5c, 0xf2000bc8, 0x2000, 0x0), at 0xfe0b5480
          [17] PhaseIdealLoop::split_if_with_blocks(0x3, 0xad1180, 0xf2000c5c, 0xf2000bc8, 0x0, 0xb85a21), at 0xfe0b5480
          [18] PhaseIdealLoop::PhaseIdealLoop(0xf2000bb8, 0x1, 0x0, 0x0, 0xad11c4, 0xf2000cb0), at 0xfe1a2a38
          [19] Compile::Optimize(0xf2001378, 0xfe49c000, 0xf2001378, 0x8f7478, 0xb5f668, 0x16), at 0xfe1e5ea0

        Eventually the system runs out of memory and vm_exit_out_of_memory is called.
        I'm not sure which method compilation causes the failure. I believe the
        error only occurs when running -Xcomp.

        See also bug 4407227 (vm_exit_out_of_memory was doing its own recursion as
        it attempted to allocate more memory).

              cclicksunw Clifford Click (Inactive)
              jloizeausunw Jane Loizeaux (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: