Skip to content

Commit e268563

Browse files
author
SendaoYan
committed
8366476: Test gc/z/TestSmallHeap.java fails OOM with many NUMA nodes
Reviewed-by: jsikstro, aboldtch
1 parent 5052a7e commit e268563

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/hotspot/jtreg/gc/z/TestSmallHeap.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2019, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -54,6 +54,8 @@ public static void main(String[] args) throws Exception {
5454
public static void main(String[] args) throws Exception {
5555
for (var maxCapacity: args) {
5656
ProcessTools.executeTestJava(
57+
// Disable NUMA to avoid potential OOM after JDK-8359683
58+
"-XX:-UseNUMA",
5759
"-XX:+UseZGC",
5860
"-Xlog:gc,gc+init,gc+reloc,gc+heap",
5961
"-Xmx" + maxCapacity,

0 commit comments

Comments
 (0)