Skip to content

Commit

Permalink
change gc to epsilon
Browse files Browse the repository at this point in the history
  • Loading branch information
jessiscript committed Jan 23, 2024
1 parent 289a92a commit 46b6754
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/imageBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@ jobs:
- name: Build and run game of life
run: mvn -Pnative package

- name: Build native image
run: native-image -cp target\game-of-life.exe gameoflife.Main

- name: Upload binary
uses: actions/upload-artifact@v2
with:
name: nativeImage-ubuntu-latest
path: target/*.jar
path: target/*.exe
2 changes: 1 addition & 1 deletion game-of-life-native/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<buildArgs>
<arg>--enable-preview</arg>
<arg>--install-exit-handlers</arg>
<arg>--gc=G1</arg>
<arg>--gc=epsilon</arg>
<!-- <arg>- -pgo-instrument</arg> -->
<!-- <arg>- -pgo=${project.basedir}/default.iprof</arg> -->
</buildArgs>
Expand Down

0 comments on commit 46b6754

Please sign in to comment.