[TESTBUG] update vm/compiler/CodeCacheInfo test to use PrintFlagsFinal for SegmentedCodeCache value check

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • b05

      Update test with something like this:

      segmented=$(${TESTED_JAVA_HOME}/bin/java ${JAVA_OPTS} -XX:+PrintFlagsFinal -version | egrep -c "SegmentedCodeCache.*=.*true")
      if [ "$segmented" = "1" ]; then
      // check segmented format
      else
      // check non-segmented format
      fi

            Assignee:
            Pavel Chistyakov (Inactive)
            Reporter:
            Pavel Chistyakov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: