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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 9
    • Affects Version/s: 9
    • Component/s: 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(..).

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

                Created:
                Updated:
                Resolved: