Skip to content

Commit

Permalink
Run virtual/stress/Skynet with -Xnocompressedrefs
Browse files Browse the repository at this point in the history
Skynet is a stress benchmark, which exceeds the below 4G capacity
of -Xcompressedrefs. The current workaround is to use
-Xnocompressedrefs where memory can be allocated outside the 4G
boundary.

To run Skynet with -Xcompressedrefs, the following features will be
needed:
- Move unmounted continuation stacks out of the low memory area.
- Improve performance of the sub-4G allocator so that it doesn't
  regress under high memory usage.

Depends on eclipse-openj9/openj9#18251

Related: eclipse-openj9/openj9#16728

Related: eclipse-openj9/openj9#15781

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
  • Loading branch information
babsingh committed Oct 16, 2023
1 parent 1ef5171 commit 8ccfe36
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/jdk/java/lang/Thread/virtual/stress/Skynet.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,18 @@
* questions.
*/

/*
* ===========================================================================
* (c) Copyright IBM Corp. 2023, 2023 All Rights Reserved
* ===========================================================================
*/

/*
* @test id=default
* @summary Stress test virtual threads with a variation of the Skynet 1M benchmark
* @requires vm.continuations
* @requires !vm.debug | vm.gc != "Z"
* @run main/othervm/timeout=300 -Xmx1g Skynet
* @run main/othervm/timeout=300 -Xmx1g -Xnocompressedrefs Skynet
*/

/*
Expand Down

0 comments on commit 8ccfe36

Please sign in to comment.