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

Add @requires to avoid running G1 large pages test with wrong page size

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 17
    • 17
    • hotspot
    • gc
    • b25

    Description

      There are two tests trying to verify that large pages are used correctly for the heap and the G1 internal data structures. These tests are done in a separate process that is run with specific arguments to know the expected outcome and those test-process don't take in any outside parameters. This is good, but if the parameter LargePageSizeInBytes is passed to the test, the driver process will run with this flag and picking up the set page size as the expected one. The simple fix is to simply not run this test with this flag. For the test to work with this flag, more work has to be done to analyze how different page sizes will affect the test.

      The affected test:
      gc/g1/TestLargePageUseForHeap.java
      gc/g1/TestLargePageUseForAuxMemory.java

      Attachments

        Issue Links

          Activity

            People

              sjohanss Stefan Johansson
              sjohanss Stefan Johansson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: