Skip to content

Commit

Permalink
Re-generate configs, set max heap, set -match=native. Revert to `ub…
Browse files Browse the repository at this point in the history
…untu-latest`.
  • Loading branch information
ychescale9 committed Aug 13, 2024
1 parent d3a2105 commit 126af45
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
name: Build and push container image to Google Artifact Registry, deploy to Cloud Run
# needs: [ assemble-and-check ]
# if: github.ref == 'refs/heads/main'
runs-on: macos-13
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ graalvmNative {
vendor.set(JvmVendorSpec.GRAAL_VM)
}
resources.autodetect()
buildArgs(
"-R:MaxHeapSize=100m",
"-march=native",
)
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
{
"type":"agent-extracted",
"classes":[
]
}
]

6 changes: 5 additions & 1 deletion src/main/resources/META-INF/native-image/reflect-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
"name":"com.fasterxml.jackson.core.ObjectCodec",
"allDeclaredFields":true,
"queryAllDeclaredMethods":true,
"methods":[{"name":"getJsonFactory","parameterTypes":[] }, {"name":"readValues","parameterTypes":["com.fasterxml.jackson.core.JsonParser","com.fasterxml.jackson.core.type.ResolvedType"] }, {"name":"readValues","parameterTypes":["com.fasterxml.jackson.core.JsonParser","com.fasterxml.jackson.core.type.TypeReference"] }, {"name":"readValues","parameterTypes":["com.fasterxml.jackson.core.JsonParser","java.lang.Class"] }]
"methods":[{"name":"getJsonFactory","parameterTypes":[] }, {"name":"readValues","parameterTypes":["com.fasterxml.jackson.core.JsonParser","com.fasterxml.jackson.core.type.ResolvedType"] }, {"name":"readValues","parameterTypes":["com.fasterxml.jackson.core.JsonParser","com.fasterxml.jackson.core.type.TypeReference"] }]
},
{
"name":"com.fasterxml.jackson.core.TreeCodec",
Expand Down Expand Up @@ -1552,6 +1552,10 @@
"name":"java.util.concurrent.atomic.Striped64",
"fields":[{"name":"base"}, {"name":"cellsBusy"}]
},
{
"name":"java.util.concurrent.atomic.Striped64$Cell",
"fields":[{"name":"value"}]
},
{
"name":"java.util.function.Consumer"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"types":[
],
"lambdaCapturingTypes":[
],
"proxies":[
]
}

0 comments on commit 126af45

Please sign in to comment.