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

JSR 292 MethodHandles adapters should be generated into their own CodeBlob

XMLWordPrintable

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

        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)")

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: