Skip to content

Commit

Permalink
Add JEP 261 workaround for DaCapo Chopin (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
caizixian authored Nov 20, 2023
1 parent 7a9c0f0 commit c04c89e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
3 changes: 1 addition & 2 deletions docs/src/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Unreleased
### Added
#### Base Configurations
- DaCapo 23.11-Chopin
- DaCapo 23.11-Chopin. Please use `dacapochopin_jep261` modifier when running this release with `callback` set due to JEP 261.
- Temurin 21

### Changed
Expand All @@ -13,7 +13,6 @@
- Deprecating Python 3.7 support for users. Python 3.7 was last released on June 6, 2023 (3.7.17), which was recent.

### Removed
- Dropping Python 3.6 support for users. Last Python 3.6 release was on Sept. 4, 2021 (3.6.15), which was long ago.
- Dropping Python 3.7 support for developers (NOT users). pytest 7.4+ requires at least Python 3.8 (still supported by Ubuntu 20.04 LTS).

### Fixed
Expand Down
24 changes: 24 additions & 0 deletions src/running/config/base/dacapo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,27 @@ suites:
zxing: 215
timing_iteration: 5
timeout: 1800

modifiers:
dacapochopin_jep261:
type: ModifierSet
val: dacapochopin_jep261_h2o21|dacapochopin_jep261_cassandra21|dacapochopin_jep261_trades21
dacapochopin_jep261_h2o21:
type: JVMArg
val: "-Dsys.ai.h2o.debug.allowJavaVersions=21 --add-opens java.base/java.lang=ALL-UNNAMED"
includes:
dacapochopin:
- h2o
dacapochopin_jep261_cassandra21:
type: JVMArg
val: "-Djava.security.manager=allow --add-exports java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED"
includes:
dacapochopin:
- cassandra
dacapochopin_jep261_trades21:
type: JVMArg
val: "--add-opens java.base/java.util=ALL-UNNAMED"
includes:
dacapochopin:
- tradebeans
- tradesoap

0 comments on commit c04c89e

Please sign in to comment.