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

ciTypeFlows handling of jsr/ret can cause excessive cloning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 8-pool
    • hs17
    • hotspot
    • None
    • sparc
    • solaris_9

      While investigating 6854812 it became obvious that part of the problem was that large amount of cloning that resulted from ciTypeFlows handling of the JsrSet. The sets will tend to expand along exception edges because they never reach a ret causing an explosion of cloning. For a relatively simply case you could see thousands of blocks instead of the 70 or so really required. This cause produce very bad and large code and will sometimes lead to bailing out of the compile because of it's size. trimming the JsrSets based on the current StateVector greatly reduces the amount of cloning.

            never Tom Rodriguez
            never Tom Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: