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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • 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

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

              Created:
              Updated:
              Resolved: