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

InterpreterRuntime::at_unwind should be a JRT_LEAF

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 16
    • 16
    • hotspot
    • gc
    • b22
    • Verified

    Description

      InterpreterRuntime::at_unwind is called at the very beginning of remove_activation(), to notify concurrent stack processing that a frame is about to be unwound. It is currently a JRT_ENTRY, because it needs a last_Java_frame to see what frame is about to get unwound.

      However, there are special return paths used by JVMTI pop frame, that checks if the caller frame is deoptimized, then calls a special path that removes the top activation, assuming that does not enter the deopt handler. The new JRT_ENTRY makes that reasoning invalid.

      Therefore, we need this to be a JRT_LEAF, that sets a last Java frame, to make everyone happy.

      Attachments

        Issue Links

          Activity

            People

              eosterlund Erik Ă–sterlund
              eosterlund Erik Ă–sterlund
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: