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

Continuations preempt_epilog is missing a call to invalidate_jvmti_stack

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • hotspot
    • None

      The continuations preempt_epilog() makes a call to the overloaded version of freeze_epilog(ContinuationWrapper& cont) which does not have the call:
        JVMTI_ONLY(jvmti_yield_cleanup(thread, cont)); // can safepoint

      The function is below:

      static inline freeze_result freeze_epilog(ContinuationWrapper& cont) {
        verify_continuation(cont.continuation());
        assert(!cont.is_empty(), "");

        log_develop_debug(continuations)("=== End of freeze cont ### #" INTPTR_FORMAT, cont.hash());
        return freeze_ok;
      }

            sspitsyn Serguei Spitsyn
            sspitsyn Serguei Spitsyn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: