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

Add stress mode for C2 loop optimizations

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 19
    • hotspot

      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.

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

              Created:
              Updated: