-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop java 11, bump GraalVM to 23.0 #439
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
noticed a few nits
pkl-core/src/main/java/org/pkl/core/ast/expression/member/InvokeMethodVirtualNode.java
Outdated
Show resolved
Hide resolved
pkl-core/src/main/java/org/pkl/core/ast/expression/member/InvokeMethodVirtualNode.java
Outdated
Show resolved
Hide resolved
pkl-core/src/main/java/org/pkl/core/ast/expression/member/InvokeSuperMethodNode.java
Outdated
Show resolved
Hide resolved
@@ -38,7 +38,7 @@ jmh { | |||
} | |||
|
|||
tasks.named("jmh") { | |||
dependsOn(":installGraalVm") | |||
dependsOn(":installGraalVmAmd64") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we specialize the jmh
task to ARM too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I'll leave this as a TODO. Would certainly be nice to have benchmarks for both architectures.
* Remove unnecessary strictfp modifier * Add annotations to address Truffle DSL warnings (@idempotent, @exclusive) * Adjust build logic to allow building cross-arch on macOS * Add warning suppression for specialization limit (left this one as a TODO)
Note: I enabled build native jobs here because this PRB introduces changes there. I'm planning on getting rid of them again before merging.
A remaining TODO here is to tune our specialization limits (see commit for details)
After dropping Java 11, we can start using records, and also switch our Java code generators to use records.