Skip to content

Commit

Permalink
8213695: gc/TestAllocateHeapAtMultiple.java is slow in some configs
Browse files Browse the repository at this point in the history
Backport-of: 755d163
  • Loading branch information
GoeLin committed Jun 21, 2022
1 parent 1bdba34 commit 9f059ee
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/hotspot/jtreg/gc/TestAllocateHeapAtMultiple.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2019, 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
Expand Down Expand Up @@ -55,9 +55,8 @@ public static void main(String args[]) throws Exception {
"-Xmx32m -Xms32m -XX:+UseCompressedOops", // 1. With compressedoops enabled.
"-Xmx32m -Xms32m -XX:-UseCompressedOops", // 2. With compressedoops disabled.
"-Xmx32m -Xms32m -XX:HeapBaseMinAddress=3g", // 3. With user specified HeapBaseMinAddress.
"-Xmx4g -Xms4g", // 4. With larger heap size (UnscaledNarrowOop not possible).
"-Xmx4g -Xms4g -XX:+UseLargePages", // 5. Set UseLargePages.
"-Xmx4g -Xms4g -XX:+UseNUMA" // 6. Set UseNUMA.
"-Xmx32m -Xms32m -XX:+UseLargePages", // 4. Set UseLargePages.
"-Xmx32m -Xms32m -XX:+UseNUMA" // 5. Set UseNUMA.
};

for(String extraOpts : extraOptsList) {
Expand Down

1 comment on commit 9f059ee

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.