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

aarch64: AdvancedThresholdPolicy lacks tuning of InlineSmallCode size

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • None
    • aarch64 development board

    • b69
    • arm
    • linux

        The method AdvancedThresholdPolicy::initialize in src/share/vm/runtime/advancedThresholdPolicy.cpp contains the following tuning for InlineSmallCode

          // Some inlining tuning
        #ifdef X86
          if (FLAG_IS_DEFAULT(InlineSmallCode)) {
            FLAG_SET_DEFAULT(InlineSmallCode, 2000);
          }
        #endif

        #ifdef SPARC
          if (FLAG_IS_DEFAULT(InlineSmallCode)) {
            FLAG_SET_DEFAULT(InlineSmallCode, 2500);
          }
        #endif

        However, there is no tuning for aarch64 which defaults to 1000 which is suboptimal.

              enevill Ed Nevill
              enevill Ed Nevill
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified