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

Create jtreg groups to list GC specific tests

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • hotspot
    • None
    • gc
    • b20

      It's quite often situation when tests fail because run with inappropriate GC: tests which explicitly require g1 are executed with parallel GC.
      Once CODETOOLS-7900307 is fixed such tests could define the @requires tag to avoid running with a wrong GC.

      As temporary and easy solution of GC flag conflicts I suggest introducing a few new jtreg groups:

      requires_g1gc
      requires_parallelgc
      requires_serialgc
      requires_cmsgc
      requires_gc
      not_requires_gc

      Those who need to execute tests with parallel GC could give the following command:
      % jtreg test/:not_requires_gc

      Note, this fix is going to be a temporary solution. If a test belong to the requires_parallelgc group, it doesn't mean that it could be executed with Parallel GC... The test may use G1 gc...
      The @requires tag should fix the problem better.

            dfazunen Dmitry Fazunenko (Inactive)
            dfazunen Dmitry Fazunenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: