ciMethodBlocks::split_block_at is broken for methods with exception handler

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • hs12
    • Affects Version/s: 7
    • Component/s: hotspot
    • None
    • b02
    • sparc
    • solaris_9
    • Not verified

        Investigation EA failure in CTW I found
        the the next function is incorrect for bytecode
        with exceptions. It incorrectly splits an exception
        handler block.


          // ciMethodBlocks::split_block_at
          //
          // Split the block spanning bci into two separate ranges. The former
          // block becomes the second half and a new range is created for the
          // first half. Returns the range beginning at bci.
          ciBlock *ciMethodBlocks::split_block_at(int bci) {

              Assignee:
              Vladimir Kozlov
              Reporter:
              Vladimir Kozlov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: