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

Missing check in implicit null code path for C1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0u8
    • 5.0
    • hotspot
    • 5.0
    • 5.0
    • b01
    • generic
    • generic

      ###@###.### 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: