[GR-57939] Introduce Espresso external JVMCI and VMAccess. #12571
+9,602
−2,435
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Espresso: Minor warning cleanups
Espresso: Move VM-side jvmci package to impl package
This avoids conflict with the guest JVMCI package
Native-Image: Simplify
NativeImageClassLoader.initRemotePackageMapIntroduce
VMAccessAPIThe
VMAccessAPI can be used to retrieve JVMCI and Graal compiler providers that reflect the state of a JVM.VMAccess.Buildercan be used to create such a JVM based on a class path, module path etc.This commit adds 2 implementations of
VMAccess.Builderthat can be looked up via service loaders:The implementation of the espresso context vm access is partial and is done as a refactoring of Espresso's existing "internal" JVMCI implementation.
one for internal JVMCI which works as before via substitutions of native methods;
and one for the new external JVMCI which is implemented via polyglot interop.