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

-XX:+PrintCompilation prints negative bci for non entrant OSR methods

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b33

      Backports

        Description

        The VM option -XX:+PrintCompilation prints a negative bytecode index for OSR methods that are marked not entrant. For example:

            129 3 % b Test::testFieldCall @ 8 (62 bytes)
            133 3 % Test::testFieldCall @ -2 (62 bytes) made not entrant

        The method nmethod::invalidate_osr_method() sets _entry_bci to InvalidOSREntryBci == -2. The value is then printed by nmethod::log_state_change(). See nmethod::make_not_entrant_or_zombie(..).

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  thartmann Tobias Hartmann
                  Reporter:
                  thartmann Tobias Hartmann
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: