JDK-6877170 : ciTypeFlows handling of jsr/ret can cause excessive cloning
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs17
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: solaris_9
  • CPU: sparc
  • Submitted: 2009-08-28
  • Updated: 2011-07-13
  • Resolved: 2011-07-13
Related Reports
Relates :  
Description
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.

Comments
EVALUATION Long term jsr/ret are dead so we won't be fixing this.
13-07-2011

EVALUATION see description.
28-08-2009