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

JSR 292 MethodHandles adapters should be generated into their own CodeBlob

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • hs18
    • hs18
    • hotspot
    • b01
    • generic
    • generic

    Backports

      Description

        Passing a null pointer to an InvokeDynamic function call, like:

          MethodHandle mh = null;
          InvokeDynamic.<void>funcall(mh);

        should lead to a NullPointerException. But with current HotSpot we hit a guarantee:

          # Internal Error (sharedRuntime.cpp:586), pid=4116, tid=3072834448
          # Error: guarantee(cb->is_adapter_blob(),"exception happened outside interpreter, nmethods and vtable stubs (1)")

        Attachments

          Issue Links

            Activity

              People

                twisti Christian Thalinger
                twisti Christian Thalinger
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: