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

Missing check in implicit null code path for C1

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0u8
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Introduced In Build:
      5.0
    • Introduced In Version:
      5.0
    • Resolved In Build:
      b01
    • CPU:
      generic
    • OS:
      generic

      Description

      ###@###.### discovered a bug in the implicit null handling path rewritten in 5.0 under 4826722. In the case where a monomorphic inline cache call site in C1-generated code dispatching to an interpreted method through the ientries gets a null receiver, the SEGV will be taken in the ientries code and mishandled by SharedRuntime::continuation_for_implicit_exception. It turns out that we usually get lucky and consider this fault to be in the inline cache check of an nmethod, but since the code blob we're dealing with isn't an nmethod this is prone to failure at any point.

        Attachments

          Activity

            People

            • Assignee:
              kbr Kenneth Russell (Inactive)
              Reporter:
              kbr Kenneth Russell (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: