Skip to content

Commit

Permalink
Upgrading to GraalVM 22.2.0 (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
msailes committed Aug 26, 2022
1 parent 7944d17 commit 1dd03eb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
Binary file modified imgs/performance_results.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ public InfrastructureStack(final Construct parent, final String id, final StackP

BundlingOptions builderOptions = BundlingOptions.builder()
.command(functionOnePackagingInstructions)
.image(DockerImage.fromRegistry("marksailes/al2-graalvm:17-22.1.0"))
// .image(DockerImage.fromRegistry("marksailes/arm64-al2-graalvm:17-22.1.0"))
.image(DockerImage.fromRegistry("marksailes/al2-graalvm:17-22.2.0"))
// .image(DockerImage.fromRegistry("marksailes/arm64-al2-graalvm:17-22.2.0"))
.volumes(singletonList(
DockerVolume.builder()
.hostPath(System.getProperty("user.home") + "/.m2/")
Expand Down
10 changes: 4 additions & 6 deletions software/products/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,10 @@
<configuration>
<imageName>product-binary</imageName>
<mainClass>com.amazonaws.services.lambda.runtime.api.client.AWSLambda</mainClass>
<buildArgs combine.children="append">
--verbose
--no-fallback
--initialize-at-build-time=org.slf4j
--enable-url-protocols=http
-H:+AllowIncompleteClasspath
<buildArgs>
<!-- required for AWS Lambda Runtime Interface Client -->
<arg>--enable-url-protocols=http</arg>
<arg>--add-opens java.base/java.util=ALL-UNNAMED</arg>
</buildArgs>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
"name":"java.util.Collections$UnmodifiableMap",
"fields":[{"name":"m"}]
},
{
"name":"jdk.internal.module.IllegalAccessLogger",
"fields":[{"name":"logger"}]
},
{
"name":"sun.misc.Unsafe",
"fields":[{"name":"theUnsafe"}]
Expand Down

0 comments on commit 1dd03eb

Please sign in to comment.