Add Statical counters and some comments in PhaseStringOpts

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 19
    • Affects Version/s: 19
    • Component/s: hotspot
    • b20
    • generic
    • generic

      StringOpts is introduced by JDK-6892658. it perform simplification for a fixed form of StringBuilder.

      1. I would like to add statistical counters to track its effectiveness.
      2. it is not a generic optimization. it only handles a fixed pattern. I think it's a good idea to add document about it.
      3. we clean up code because some variables are useless now.

            Assignee:
            Xin Liu
            Reporter:
            Xin Liu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: