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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 9
    • 9
    • hotspot
    • b33

        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(..).

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

                Created:
                Updated:
                Resolved: