Skip to content
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

Upgrade enso to GraalVM for jdk 21 #7991

Merged
merged 177 commits into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
177 commits
Select commit Hold shift + click to select a range
5efaba0
Remove bootstrap sbt goal
Akirathan Oct 5, 2023
9d38a7b
[WIP] Remove workaround for Espresso
Akirathan Oct 5, 2023
ca4772d
Remove graalVM version check
Akirathan Oct 5, 2023
ceedf4e
Remove unused runGu method from build.sbt
Akirathan Oct 5, 2023
abad22e
Add java-module-info sbt plugin
Akirathan Oct 5, 2023
7374557
Remove non-existing org.graalvm.locator from --limit-modules option
Akirathan Oct 5, 2023
3a0af7d
Remove moduleInfos as Global key - is unused.
Akirathan Oct 6, 2023
ef82bc4
Add module-info to interpreter-dsl
Akirathan Oct 6, 2023
2370e24
Remove module-info from interpreter-dsl
Akirathan Oct 11, 2023
c01b559
Remove dependency on jdk.compiler from builtin method processor
Akirathan Oct 11, 2023
9bc8acd
Remove --add-exports option from build.sbt
Akirathan Oct 11, 2023
39d895e
Add module-info to runtime
Akirathan Oct 12, 2023
b173751
Add -proc:full option - remove warning
Akirathan Oct 12, 2023
ba471ff
Replace all org.graalvm.sdk:graal-sdk deprecated dependencies with or…
Akirathan Oct 12, 2023
6086aa9
Add org.graalvm.truffle:truffle-api dependency to pkg
Akirathan Oct 12, 2023
22731e1
Remove outdated java-11 migration guide and sbt bootstrap
Akirathan Oct 12, 2023
8d5beb8
compilation order of runtime is JavaThenScala
Akirathan Oct 12, 2023
dae90c8
Revert "Add -proc:full option - remove warning"
Akirathan Oct 12, 2023
c61f3ab
std-base copies graal-polyglot artifact into its polyglot directory
Akirathan Oct 13, 2023
1959eb5
Compile module-info.java manually in runtime
Akirathan Oct 13, 2023
c58cf2c
runtime-with-instruments assembly depends on Jar runtime packaging
Akirathan Oct 13, 2023
317ce28
Move module-info to runtime project
Akirathan Oct 13, 2023
6b13e12
Implement custom module-info merge strategy
Akirathan Oct 13, 2023
ed7c0d5
Put some common functionality into separate source
Akirathan Oct 13, 2023
c6cf617
Put everything from class-path on module-path
Akirathan Oct 13, 2023
a57b2dc
Fix imports in build.sbt
Akirathan Oct 13, 2023
d4ca61b
runtime-with-instruments/assembly depends on runtime/compile and pack…
Akirathan Oct 13, 2023
506756c
moduleInfoMergeStrategy can filter module-info from different projects
Akirathan Oct 17, 2023
848fe50
Add module-info to engine-runner project
Akirathan Oct 17, 2023
03c027c
compileModuleInfo fails if javac failed
Akirathan Oct 18, 2023
67f52df
Make sure that all other module-info.class are discarded from the ass…
Akirathan Oct 20, 2023
4bf779b
Exclude truffle related jars from Uber jar
Akirathan Oct 20, 2023
6fa16d0
JPMSUtils.compileModuleInfo also copies class files from some deps in…
Akirathan Oct 23, 2023
f41049e
Delete some mentions about fat jars from the docs
Akirathan Oct 23, 2023
485e779
runner module is not dependent on runtime module
Akirathan Oct 23, 2023
21af065
Update shell bin scripts to not use truffle.class.path.append
Akirathan Oct 23, 2023
6dbfaf7
Merge branch 'develop' into wip/akirathan/7851-Upgrade-Enso-to-GraalV…
Akirathan Oct 23, 2023
0ac75cb
Runner module does not depend on truffle stuff
Akirathan Oct 23, 2023
2cd6170
Load runner.jar from its own URLClassLoader preferring local class co…
JaroslavTulach Oct 23, 2023
4562fa6
org.enso.runner is not a module
Akirathan Oct 23, 2023
c3b87fe
Exclude slf4j-api and logback from runtime fat jar
Akirathan Oct 24, 2023
0a9e329
Fix typos in docs
Akirathan Oct 24, 2023
0b759f0
Specify uses slf4j provider in module-info
Akirathan Oct 24, 2023
aaed598
module-info requires additional jdk modules
Akirathan Oct 24, 2023
8e3f55e
EnsoBoot finds runner.jar in a nested directory
Akirathan Oct 24, 2023
177b90f
Exec shell scripts in bin execute java with correct JVM options
Akirathan Oct 24, 2023
b8838cd
Copy all the modular JARs into component directory of the built distr…
Akirathan Oct 24, 2023
34fd622
EnsoBoottakes path to runner.jar optionally from a system property.
Akirathan Oct 25, 2023
fe8cb28
updateLibraryManifest uses enso.runner property.
Akirathan Oct 25, 2023
edfe3ba
Fix also buildEngineDistributionNoIndex
Akirathan Oct 25, 2023
c82305a
Gathering modules that need to be copied in component is a task
Akirathan Oct 25, 2023
293d631
org.enso.runtime requires java.se
Akirathan Oct 25, 2023
c840df0
Add custom HostClassLoader for polyglot imports
Akirathan Oct 25, 2023
22ca879
Put graalvm dependencies into project/GraalVM.scala
Akirathan Oct 25, 2023
61de3b9
std-bits exclude graal modules from polyglot jars
Akirathan Oct 25, 2023
a9f49f0
classes loaded by our HostClassLoader are converted to host symbol
Akirathan Oct 25, 2023
93baa16
Fix copy-paste error in VectorTest
Akirathan Oct 25, 2023
734ada6
Refactor componentModulesPaths task to be usable inside `build.sbt`
Akirathan Oct 25, 2023
af0f836
Add parent class loader to EnsoBoot
Akirathan Oct 27, 2023
a17d1b0
Run runtime tests with class-path isolation disabled
Akirathan Oct 27, 2023
638f1f2
Add graalvm version check
Akirathan Oct 27, 2023
3e69ecf
Update CHANGELOG
Akirathan Oct 27, 2023
2fc0adf
fmt
Akirathan Oct 27, 2023
d5909da
Fix graalVersion naming in build.sbt
Akirathan Oct 27, 2023
e40dad9
Fix tests in runtime-with-polyglot
Akirathan Oct 27, 2023
e4852d6
Add javaVersion to build.sbt
Akirathan Oct 27, 2023
c0cf4e0
GraalVM JDK version is 21.0.1
Akirathan Oct 27, 2023
6337d86
Remove graal programs from the build script
Akirathan Oct 27, 2023
41f9e38
Refactor componentModules into JPMSUtils.scala
Akirathan Oct 30, 2023
09133f6
rebuildNativeImage task gathers the necessary class-path
Akirathan Oct 30, 2023
f6b330b
Rename EnsoBoot to EngineRunnerBootLoader
Akirathan Oct 31, 2023
6a8a8e7
Add verbose opt to NativeImage builder
Akirathan Oct 31, 2023
56f9db7
Fix engine-runner native image build options
Akirathan Oct 31, 2023
1611fee
org.slf4j is a static dependency of org.enso.runtime module
Akirathan Nov 1, 2023
9d5cf87
All truffle and graal artifacts have Provided scope
Akirathan Nov 1, 2023
f19847e
fmt
Akirathan Nov 1, 2023
cbca9af
Review licenses for graal/truffle artifacts in engine distribution
Akirathan Nov 1, 2023
e4b5de5
Merge branch 'develop' into wip/akirathan/7851-Upgrade-Enso-to-GraalV…
Akirathan Nov 1, 2023
e857f11
Fix updateLibraryManifest command
Akirathan Nov 1, 2023
6dab3e6
At least one truffle-api dependency needs to have Provided scope
Akirathan Nov 1, 2023
8d45770
Fix typo in native image causing most of the cmdline args to be ignored
Akirathan Nov 1, 2023
fe385a6
Keep EngineRunnerBootLoader opened as long as possible
Akirathan Nov 2, 2023
1b93276
EngineRunnerBootLoader uses standard URLClassLoader
Akirathan Nov 2, 2023
8ca080a
Refactor build.sbt - use helper method from JPMSUtils
Akirathan Nov 2, 2023
7d7c31b
Fix building of std-aws and std-base - org.graalvm.polyglto must not …
Akirathan Nov 2, 2023
fb8203a
Put reference.conf from akka to runtime.jar fat jar
Akirathan Nov 2, 2023
398cccf
runner.jar is as thin as possible - remove shared packages with runti…
Akirathan Nov 2, 2023
b8ff976
Add RuntimeServerInstrumentProvider provider declaration to runtime's…
Akirathan Nov 2, 2023
8984a20
Add requires jdk.unsupported to runtime's module-info
Akirathan Nov 2, 2023
b6762f3
Revert "Put reference.conf from akka to runtime.jar fat jar"
Akirathan Nov 3, 2023
c98b5c2
Revert "runner.jar is as thin as possible - remove shared packages wi…
Akirathan Nov 3, 2023
b04eb8b
language-server passes custom class loader to akka.ActorSystem
Akirathan Nov 3, 2023
aa5c421
EngineRunnerBootLoader uses IsolatedClassLoader
Akirathan Nov 3, 2023
a45a9cc
Pass correct Configuration to SqlDatabase init
Akirathan Nov 3, 2023
40bc3b3
Runtime version management recognizes engine with unchained Truffle
Akirathan Nov 3, 2023
385a5eb
project-manager is able to start lagnuage-server with the new cmd lin…
Akirathan Nov 3, 2023
6977ee9
IsolatedClassLoader delegates to system class loader for packages fro…
Akirathan Nov 3, 2023
0ebde1d
org.enso.runtime module is opened - to be able to load all resources
Akirathan Nov 3, 2023
894b9dc
Bump minimal versions in project manifest template
Akirathan Nov 3, 2023
4693cc5
Remove outdated jvm options from project manifest template
Akirathan Nov 3, 2023
e582d38
IsolatedClassLoader delegates to slf4j and logback class/resource loa…
Akirathan Nov 6, 2023
b696fd3
LoggingServiceConfig uses different classloader as fallback when pars…
Akirathan Nov 7, 2023
6ca1d94
Fix typo in docs
Akirathan Nov 7, 2023
a12e644
project-manager.jar excludes truffle modules
Akirathan Nov 7, 2023
4ace5fc
Merge branch 'develop' into wip/akirathan/7851-Upgrade-Enso-to-GraalV…
Akirathan Nov 7, 2023
a420ce3
Fix legal review warnings in engine
Akirathan Nov 7, 2023
7fb4774
Add review licenses for project-manager, launcher, and Base
Akirathan Nov 7, 2023
634a4d9
Fix rest of the license review warnings.
Akirathan Nov 7, 2023
d0a300c
Fix engine-runner native image build - add more classes to runtime in…
Akirathan Nov 8, 2023
c58dedf
Remove compilation warnings in simple-httpbin
Akirathan Nov 8, 2023
f96bd1a
Add polyglot classes to class-path for tests in language-server and p…
Akirathan Nov 8, 2023
a652e09
Use correct root directory paths in language-server tests
Akirathan Nov 8, 2023
80235cd
SPecify test log provider for tests in build.sbt
Akirathan Nov 8, 2023
af83048
Fix path to LanguageHome in BaseServerTest
Akirathan Nov 9, 2023
3366e9d
Fix typo
Akirathan Nov 9, 2023
5681978
fmt
Akirathan Nov 9, 2023
1922aad
Truffle unchained has no required components
Akirathan Nov 9, 2023
355cda7
Remove unused gu test
Akirathan Nov 9, 2023
22bfb2c
Add polyglot class to class-path for tests in project-manager
Akirathan Nov 9, 2023
2f57881
Fix log provider for project-manager/test
Akirathan Nov 9, 2023
3e73285
Remove deprecated polyglot engine options
Akirathan Nov 10, 2023
66ee299
Remove tests that specify runtime from RuntimeVersionManager
Akirathan Nov 10, 2023
f24ba2a
Fix RuntimeVersionManager.installEngine
Akirathan Nov 10, 2023
ebe2ba6
project-manager test uses the new engine distribution for preinstalle…
Akirathan Nov 10, 2023
6b37d54
Remove tests that install runtimes
Akirathan Nov 10, 2023
8d87d56
Make logging from JPMSUtils more quiet
Akirathan Nov 10, 2023
aded91e
Fix rest of project-manager tests.
Akirathan Nov 10, 2023
87f32da
bench-processor tests use polyglot classes on class-path
Akirathan Nov 10, 2023
4351ae8
Fix native image build of launcher
Akirathan Nov 10, 2023
c1115ba
fmt
Akirathan Nov 10, 2023
fe74103
Set LC_ALL env var to prevent https://github.com/sbt/sbt-assembly/iss…
Akirathan Nov 13, 2023
9e1f484
Add runner/runner.jar placeholders to resources in runtime-version-ma…
Akirathan Nov 13, 2023
12390a8
Fix placeholder generation in RUntimeVersionManagerSpec
Akirathan Nov 13, 2023
219ea17
launcher/buildNativeImage is not verbose
Akirathan Nov 13, 2023
f0d01d8
Add --engine.WarnInterpreterOnly=false to PackageTest
Akirathan Nov 13, 2023
f5c3d25
Ignore some tests in DebuggingEnsoTest
Akirathan Nov 13, 2023
e72b103
Remove "logger not found on class-path" warning in polyglot-api tests
Akirathan Nov 13, 2023
aff7889
Fix ConcurrencyTest in runtime-version-manager-test: install only eng…
Akirathan Nov 13, 2023
0472d69
Add more --engine.WarnInterpreterOnly=false options to tests
Akirathan Nov 13, 2023
7e39bd7
Fix engine and runtime version in RuntimeVersionManagerSpec
Akirathan Nov 13, 2023
78e4810
Fix EngineManagementApiSpec test
Akirathan Nov 13, 2023
50cf7b4
Fix launcherRunnerSpec
Akirathan Nov 13, 2023
a3ff59d
Make sure that buildEngineDistributionNoIndex is run before project-m…
Akirathan Nov 13, 2023
bcfdd20
Get rid of some more engine interpreter only warnings in tests
Akirathan Nov 13, 2023
3b7c79e
Fix engine distribution directory name in built-distribution
Akirathan Nov 13, 2023
b079181
Merge branch 'develop' into wip/akirathan/7851-Upgrade-Enso-to-GraalV…
Akirathan Nov 14, 2023
ec1afab
JDBCProxy in std-database loads java.sql.Drivers with a specific clas…
Akirathan Nov 14, 2023
5d97585
Add some logging
Akirathan Nov 14, 2023
9e8841d
Remove unused setting key from build.sbt
Akirathan Nov 14, 2023
ab6f2c3
Make sure org.apache.commons.collections4 dependency is included in s…
Akirathan Nov 15, 2023
0520bf2
fmt
Akirathan Nov 15, 2023
c782086
Fix std-benchmarks/compile - update --limit-modules
Akirathan Nov 15, 2023
904bdc5
Update distribution.md docs
Akirathan Nov 15, 2023
c6d0d60
Revert temporary timeout setting of tests
Akirathan Nov 15, 2023
8e6c249
Add chrome inspector module to the component dir
Akirathan Nov 15, 2023
c42a5eb
Fix bug in Regex
Akirathan Nov 15, 2023
5ab29dc
Include IdExecutionInstrumentProvider into runtime jar
Akirathan Nov 15, 2023
eafcfd2
fmt
Akirathan Nov 15, 2023
843f37a
Remove chrome-inspector tool - it does not work anyway.
Akirathan Nov 15, 2023
6b7fd06
put GraalVM language pkgs as library dependencies of runtime
Akirathan Nov 16, 2023
6bf5abb
Remove chrome inspector tool from componentmodules
Akirathan Nov 16, 2023
a3037db
Fix typo in Regex.enso
Akirathan Nov 16, 2023
0b01ab4
Update expected headers in Http_Spec
Akirathan Nov 16, 2023
1088ae0
enso's HostClassLoader has graalvm polyglot class loader as parent
Akirathan Nov 16, 2023
417af8d
Fix std-benchmarks/Bench/compile annotation processing
Akirathan Nov 16, 2023
bb6c1ba
Fix std-benchmarks/Bench/run
Akirathan Nov 16, 2023
bf20bae
fmt
Akirathan Nov 16, 2023
aa08531
Fix runtime/Benchmark configuration
Akirathan Nov 17, 2023
cb60d19
std=benchmarks/Bench have nop logger
Akirathan Nov 17, 2023
4f534e9
All projects with Bench config have the same Bench/javaOptions as std…
Akirathan Nov 17, 2023
ffb40a4
fmt
Akirathan Nov 17, 2023
172610f
Set LC_ALL env var to prevent sbt/sbt-assembly#496
Akirathan Nov 17, 2023
8b17ca5
Fix compiler error in build/ci_utils
Akirathan Nov 17, 2023
d2649ad
Remove unused test from ci_utils cache goodie
Akirathan Nov 17, 2023
71bcd1c
Fix lint
Akirathan Nov 17, 2023
6ce3646
Do not use should_equal method in benchmarks
Akirathan Nov 17, 2023
0586308
Temporarily Remove CurriedFunctionBenchmarks
Akirathan Nov 17, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/gui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
- run: ./run backend get
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LC_ALL: C.UTF-8
- if: failure() && runner.os == 'Windows'
name: List files if failed (Windows)
run: Get-ChildItem -Force -Recurse
Expand Down Expand Up @@ -112,6 +113,7 @@ jobs:
- run: ./run backend get
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LC_ALL: C.UTF-8
- if: failure() && runner.os == 'Windows'
name: List files if failed (Windows)
run: Get-ChildItem -Force -Recurse
Expand Down Expand Up @@ -170,6 +172,7 @@ jobs:
- run: ./run backend get
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LC_ALL: C.UTF-8
- if: failure() && runner.os == 'Windows'
name: List files if failed (Windows)
run: Get-ChildItem -Force -Recurse
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/scala-new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
AWS_REGION: ${{ secrets.ENSO_LIB_S3_AWS_REGION }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.ENSO_LIB_S3_AWS_SECRET_ACCESS_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LC_ALL: C.UTF-8
- if: success() || failure()
name: Engine Test Reporter
uses: dorny/test-reporter@v1
Expand Down Expand Up @@ -149,6 +150,7 @@ jobs:
AWS_REGION: ${{ secrets.ENSO_LIB_S3_AWS_REGION }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.ENSO_LIB_S3_AWS_SECRET_ACCESS_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LC_ALL: C.UTF-8
- if: success() || failure()
name: Engine Test Reporter
uses: dorny/test-reporter@v1
Expand Down Expand Up @@ -230,6 +232,7 @@ jobs:
AWS_REGION: ${{ secrets.ENSO_LIB_S3_AWS_REGION }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.ENSO_LIB_S3_AWS_SECRET_ACCESS_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LC_ALL: C.UTF-8
- if: success() || failure()
name: Engine Test Reporter
uses: dorny/test-reporter@v1
Expand Down
1 change: 0 additions & 1 deletion .jvmopts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
-Xss16M
-Xmx4G
-XX:+UseCompressedOops
--upgrade-module-path=engine/runtime/build-cache/truffle-api.jar
Akirathan marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -996,6 +996,7 @@
- [Modules can be `private`][7840]
- [HTTPS and WSS support in Language Server][7937]
- [Export of non-existing symbols results in error][7960]
- [Upgrade GraalVM to 23.1.0 JDK21][7991]

[3227]: https://github.com/enso-org/enso/pull/3227
[3248]: https://github.com/enso-org/enso/pull/3248
Expand Down Expand Up @@ -1145,6 +1146,7 @@
[7840]: https://github.com/enso-org/enso/pull/7840
[7937]: https://github.com/enso-org/enso/pull/7937
[7960]: https://github.com/enso-org/enso/pull/7960
[7991]: https://github.com/enso-org/enso/pull/7991

# Enso 2.0.0-alpha.18 (2021-10-12)

Expand Down
Loading
Loading