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

Potential issue in GTest LogSelectionList.combination_limit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • hotspot
    • None

      The GTest LogSelectionList.combination_limit tests whether LogSelectionList::MaxSelections > LogTagSet::ntagsets()

      In current OpenJDK head, the number of tagsets is running close to the defined value of LogSelectionList::MaxSelections. In our downstream build of SapMachine where we add one additional tagset, this test breaks.

      Looking more closely at the test, it seems a bit dubious to have this check. Should the MaxSelections value be incremented by a few digits to cater for future growth? Is the number of actual tagsets really the thing that we should test for here as upper bounds?
      Also, it seems in gtests the tagset number is higher than in a JDK.

            rschmelter Ralf Schmelter
            clanger Christoph Langer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: