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

find_base_for_derived's use of Ideal NULL is unsafe causing crashes during register allocation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: hs12
    • Fix Version/s: hs16
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b02
    • CPU:
      sparc
    • OS:
      solaris_9

      Backports

        Description

        PhaseChaitin::stretch_base_pointer_live_ranges stretches the base pointers for live ranges and in some cases may have to construct a NULL base in find_base_for_derived. It constructs an Ideal NULL instead of a mach one and if the Ideal NULL is ever used in Phi with real machine values we will die during register allocation. It's very hard to reproduce in practice though the changes for 6552204 causes it to occur with Eclipse in some cases.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                kvn Vladimir Kozlov
                Reporter:
                never Tom Rodriguez
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: