Skip to content

Commit 8205137

Browse files
tstuefepull[bot]
authored andcommitted
8334179: VMATreeTest.TestConsistencyWithSimpleTracker_vm runs 50+ seconds
Reviewed-by: jsjolen
1 parent f2ae400 commit 8205137

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/hotspot/gtest/nmt/test_vmatree.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ struct SimpleVMATracker : public CHeapObj<mtTest> {
358358
}
359359
};
360360
// Page (4KiB) granular array
361-
static constexpr const size_t num_pages = 1024 * 512;
361+
static constexpr const size_t num_pages = 1024 * 4;
362362
Info pages[num_pages];
363363

364364
SimpleVMATracker()
@@ -434,8 +434,6 @@ TEST_VM_F(VMATreeTest, TestConsistencyWithSimpleTracker) {
434434
const MEMFLAGS candidate_flags[candidates_len_flags] = {
435435
mtNMT,
436436
mtTest,
437-
mtGC,
438-
mtCompiler
439437
};
440438

441439
const int operation_count = 100000; // One hundred thousand

0 commit comments

Comments
 (0)