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

Refactor TestMemoryAwareness to use WhiteBox api for host values

XMLWordPrintable

        In prep for JDK-8299858 it would be good to refactor the test TestMemoryAwareness.java. It currently does some imprecise matching in case swap accounting is turned off. We should fix this properly by adding WhiteBox API for retrieving physical (container host) values for memory and swap and do the proper assertions in the test.

        It's also an enabler for a test for JDK-8299858.

              sgehwolf Severin Gehwolf
              sgehwolf Severin Gehwolf
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: