Add stress mode for C2 loop optimizations

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 19, 25
    • Component/s: 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.

            Assignee:
            Saranya Natarajan
            Reporter:
            Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: