8301466: [AIX] Revisit CommittedVirtualMemoryTest

Reviewed-by: mdoerr
This commit is contained in:
Varada M 2024-01-13 14:12:44 +00:00 committed by Martin Doerr
parent 5cf7947ccd
commit d83ea92085

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -32,8 +32,6 @@
class CommittedVirtualMemoryTest {
public:
static void test() {
#ifndef _AIX
// See JDK-8202772: temporarily disabled.
Thread* thr = Thread::current();
address stack_end = thr->stack_end();
size_t stack_size = thr->stack_size();
@ -77,7 +75,6 @@ public:
ASSERT_TRUE(i >= 1);
ASSERT_TRUE(found_stack_top);
ASSERT_TRUE(found_i_addr);
#endif // !_AIX
}
static void check_covered_pages(address addr, size_t size, address base, size_t touch_pages, int* page_num) {