- Added HotSwap support for changing the super class and implemented interfaces.
- Added HotSwap support for 'Move Field in Hierarchy' refactoring where state is preserved.
- HotSwap support for changing fields and class access modifiers are now turned on by default.
- The truffle
AbstractTruffleException
API is now fully adopted. - Better integration with the Truffle safepoint API
- Add new implementation for reading jimages (
libs/modules
) . It is used by default,--java.JImage=native
can be used to revert to the old implementation. - New command:
<ProcessReferences>
. Allows embedders to manually trigger reference processing in single-threaded mode.
- New HotSwap support for changing fields. Enable with the
--java.ArbitraryChangesSupport=true
experimental flag. - New HotSwap support for changing class access modifiers. Enable with the
--java.ArbitraryChangesSupport=true
experimental flag. - Added support for running native code with the LLVM runtime. This can be enabled with the
--java.NativeBackend=nfi-llvm
experimental flag. Native JDK libraries can be installed withgu install espresso-llvm
. When installed, those libraries will be picked up by thenfi-llvm
native backend. This allows to bypass some limitations of the default native backend (nfi-dlmopen
). In particular, it avoids crashes that can happen on some glibc versions when using multiple contexts.
- Espresso adopted the new Frame API.
- Fix Strings sometimes not properly displayed in the debugger view through JDWP
- Java 17 guest and host support.
- Support using interop buffer-like object as a
byte[]
in espresso. - Add buffer interop messages to the explicit interop API.
- The Polyglot API is not enabled by default anymore. When needed, contexts should be created with the
java.Polyglot
option set totrue
. - The HotSwapAPI is not auto-enabled by debugging anymore. When needed, contexts should be created with the
java.HotSwapAPI
option set totrue
. - Avoid illegal reflective access warnings with host Java >= 11.
- The Static Object Model has moved to Truffle.
- On-Stack-Replacement using the new Truffle bytecode OSR API.
- Detect and report trivial methods.
- Enable saturated type flows.
- Performance and functional related to JDWP.
- Fix some crashes observed when using the JNA.