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

SetLocalXXX fail on virtual threads with -XX:+UnlockExperimentalVMOptions -XX:-VMContinuations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • None
    • 21
    • hotspot

      With the given options, SetLocalXXX JVMTI API fails:
      1. SetLocalFloat - Fails with JVMTI_ERROR_TYPE_MISMATCH
      2. SetLocalInt - Fails with JVMTI_ERROR_TYPE_MISMATCH
      3. SetLocalLong - Fails with JVMTI_ERROR_INVALID_SLOT
      4. SetLocalObject - Fails with JVMTI_ERROR_INVALID_SLOT
      5. SetLocalDouble - Fails with JVMTI_ERROR_INVALID_SLOT

      When invoked on a suspended virtual thread expected result:
      JVMTI_ERROR_NONE or JVMTI_ERROR_OPAQUE_FRAME

            sspitsyn Serguei Spitsyn
            pgundarlahal Prashanthram Gundarlahally
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: