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

Add stress mode for C2 loop optimizations

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: In Progress
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 19
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:

      Description

      There are several policies/heuristics in C2's loop optimizations. For example, IdealLoopTree::policy_peeling decides based on the node count if peeling should be attempted. We should add a stress flag that randomizes these decision (50/50 or so).

      We should also consider not hardcoding values like LoopNode::_unswitch_max.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              epeter Emanuel Peter
              Reporter:
              thartmann Tobias Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: