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

java/lang/management/MemoryMXBean/CollectionUsageThreshold.java fails when being run with different GCs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 8
    • core-svc
    • None

      The test java/lang/management/MemoryMXBean/CollectionUsageThreshold.java fails when being run in nightly testing with various GC combinations:

      Conflicting collector combinations in option list; please refer to the release notes for the combinations allowed

      The problem is that the lists specific GC options in the "@run" tags. When Aurora runs baselines with different GC combinations, for example CMS, it will append the GC combination the "@run" tag. The result will be a run tag like the following:

       @run main/othervm/timeout=300 -XX:+PrintGCDetails -XX:+UseSerialGC -XX:+UseG1GC CollectionUsageThreshold

      The test must either use ProcessTools to spawn new Java processes without passing along the options or check which GC it is being run with.

            Unassigned Unassigned
            ehelin Erik Helin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: