Skip to content

Commit 218c6b1

Browse files
authored
Update graalvm.md
Remove references to deprecated garbage collector G1
1 parent 4ecf77b commit 218c6b1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/graalvm.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ Build image for local OS
159159
$ ./mvnw clean package -Pnative -DskipTests
160160
```
161161

162-
__Note__: Linux needs to use the `G1` garbage collector. This is obtained by passing the `-Dnative.gc="--gc=G1"` property to maven.
163-
164162
## A docker image to build Linux native images
165163

166164
[SoftInstigate](https://softinstigate.com) maintains the Debian based, docker image [softinstigate/graalvm-maven](https://github.com/SoftInstigate/graalvm-maven-docker) with GraalVM and Maven and `native-image`.
@@ -178,7 +176,7 @@ $ docker run -it --rm \
178176
-v "$PWD":/opt/app \
179177
-v "$HOME"/.m2:/root/.m2 \
180178
softinstigate/graalvm-maven \
181-
clean package -Pnative -DskipTests -Dnative.gc="--gc=G1"
179+
clean package -Pnative -DskipTests
182180
```
183181

184182
native-image arguments are defined in [this file](https://github.com/SoftInstigate/restheart/blob/master/core/src/main/resources/META-INF/native-image/org.restheart/restheart/native-image.properties).

0 commit comments

Comments
 (0)