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

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P2
    • None
    • Affects Version/s: 21
    • Component/s: 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

            Assignee:
            Serguei Spitsyn
            Reporter:
            Prashanthram Gundarlahally
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: