RFR: 8366476: Test gc/z/TestSmallHeap.java fails OOM with many NUMA nodes [v2]

SendaoYan syan at openjdk.org
Tue Sep 2 01:44:34 UTC 2025


On Mon, 1 Sep 2025 15:29:38 GMT, Joel Sikström <jsikstro at openjdk.org> wrote:

>> SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   update comment "Disable NUMA to avoid potential OOM after JDK-8359683"
>
> test/hotspot/jtreg/gc/z/TestSmallHeap.java line 57:
> 
>> 55:         for (var maxCapacity: args) {
>> 56:             ProcessTools.executeTestJava(
>> 57:                 // Disable NUMA to avoid OOM with -Xmx16M after JDK-8359683
> 
> We might fail with a larger heap on a machine with more NUMA nodes, so I'd change this to be more general.
> Suggestion:
> 
>                 // Disable NUMA to avoid potential OOM after JDK-8359683

Thanks, the comment has been updated.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27019#discussion_r2314740869


More information about the hotspot-gc-dev mailing list