Skip to content

Commit

Permalink
Add a comment about the selection of GC and move the changing argumen…
Browse files Browse the repository at this point in the history
…t ahead
  • Loading branch information
limingliu-ampere committed Jan 12, 2024
1 parent d64a5f8 commit 8290417
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions test/hotspot/jtreg/gc/parallel/TestParallelAlwaysPreTouch.java
Expand Up @@ -26,17 +26,19 @@
* @bug 8315923
* @requires vm.gc.Parallel & os.family == "linux" & os.maxMemory > 30G
* @summary Check if parallel pretouch performs normally with and without THP.
* @comment The test is not ParallelGC-specific, but a multi-threaded GC is \
* required. So ParallelGC is used here.
*
* @run main/othervm -XX:+UseParallelGC -XX:ParallelGCThreads=${os.processors}
* @run main/othervm -XX:-UseTransparentHugePages
* -XX:+UseParallelGC -XX:ParallelGCThreads=${os.processors}
* -Xlog:startuptime,pagesize,gc+heap=debug
* -Xms24G -Xmx24G -XX:+AlwaysPreTouch
* -XX:-UseTransparentHugePages
* gc.parallel.TestParallelAlwaysPreTouch
*
* @run main/othervm -XX:+UseParallelGC -XX:ParallelGCThreads=${os.processors}
* @run main/othervm -XX:+UseTransparentHugePages
* -XX:+UseParallelGC -XX:ParallelGCThreads=${os.processors}
* -Xlog:startuptime,pagesize,gc+heap=debug
* -Xms24G -Xmx24G -XX:+AlwaysPreTouch
* -XX:+UseTransparentHugePages
* gc.parallel.TestParallelAlwaysPreTouch
*/

Expand Down

0 comments on commit 8290417

Please sign in to comment.