8289620: gtest/MetaspaceUtilsGtests.java failed with unexpected stats values

Reviewed-by: coleenp
This commit is contained in:
Thomas Stuefe 2022-07-07 05:30:10 +00:00
parent 403a9bc796
commit 569de453c3

View File

@ -89,8 +89,8 @@ TEST_VM(MetaspaceUtils, non_compressed_class_pointers) {
}
static void check_metaspace_stats_are_consistent(const MetaspaceStats& stats) {
EXPECT_LT(stats.committed(), stats.reserved());
EXPECT_LT(stats.used(), stats.committed());
EXPECT_LE(stats.committed(), stats.reserved());
EXPECT_LE(stats.used(), stats.committed());
}
static void check_metaspace_stats_are_not_null(const MetaspaceStats& stats) {