Integrated: 8300659: Refactor TestMemoryAwareness to use WhiteBox api for host values

Severin Gehwolf sgehwolf at openjdk.org
Wed Jan 25 10:27:18 UTC 2023


On Thu, 19 Jan 2023 13:57:57 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> Please review this refactoring of a container test. It now uses WhiteBox to retrieve the host values it asserts for. In terms of functionality this is basically a no-op except for the now more precise assertion on systems with swap accounting disabled at the kernel level.
> 
> *Testing*
> - [x] Container tests on Linux x86_64 cgv1 and cgv2
> - [x] Container tests on Linux x86_64 cgv1 and cgv2 on systems with swapaccount=0
> - [x] GHA in progress 
> 
> Thoughts?

This pull request has now been integrated.

Changeset: 3c61d5aa
Author:    Severin Gehwolf <sgehwolf at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3c61d5aa48606dab2d2c639d5f0a56313476917d
Stats:     47 lines in 3 files changed: 27 ins; 1 del; 19 mod

8300659: Refactor TestMemoryAwareness to use WhiteBox api for host values

Reviewed-by: mbaesken

-------------

PR: https://git.openjdk.org/jdk/pull/12097


More information about the serviceability-dev mailing list