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

ciMethodBlocks::split_block_at is broken for methods with exception handler

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • hs12
    • 7
    • 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) {

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: