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

Fixes for range of OptoLoopAlignment and Inlining flags

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9, 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b21

      Description

      This fixes some problems with the ranges given for flags.

      Class WarmCallInfo limits its values to 1.0e10, but the flags used
      to set it's fields (HotCallCountThreshold etc.) are limited by max_intx.
      Using values over 1.0e10 causes assertions in the debug build.

      OptoLoopAlignment must be a multiple of nop size, else it's not
      possible to generate the instructions that go into the pad.
      On x86 NOP size is 1, so it's no problem.
      For SPARC, OptoLoopAlignmentConstraintFunc implements a
      special case for bigger NOPs. This is also needed for s390
      and ppc.

        Attachments

          Activity

            People

            • Assignee:
              goetz Goetz Lindenmaier
              Reporter:
              goetz Goetz Lindenmaier
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: