ristretto

v0.31.0

v0.31.0 May 4 2026 at 16:30 UTC

Added

  • add jpms support
  • implement jit instructions getstatic, putstatic, getfield, putfield, new, anewarray, athrow, checkcast, instanceof, and multianewarray
  • add array and object support to JIT
  • implement sun/misc/Version
  • implement sun/nio/fs
  • implement java/nio/MappedByteBuffer
  • implement sockets

Fixed

  • correct windows socket io
  • account for long/double slots and return values in invoke* stack_delta
  • correct module support on windows
  • correct macos locale detection
  • create lightweight class loading mode
  • throw java.lang.UnsatisfiedLinkError native method is not found
  • correct java/io/UnixFileSystem.canonicalize0(Ljava/lang/String;)Ljava/lang/String;
  • correct GC memory leak
  • correct windows file io
  • set declaringClassObject on java/lang/StackTraceElement
  • correct java/lang/Class.forName0(...) support for custom class loaders
  • correct primordial thread name

Other

  • update to rust 1.95.0
  • reduce memory utilization of Instruction
  • add ci tests for riscv64gc-unknown-linux-gnu
  • add intrinsic methods for all supported OS version combinations
  • update to java 25.0.3.9.1
  • enable clippy linting for wasm builds
  • remove gc benchmarks
  • update GC test to be deterministic
  • update dependencies
  • add ci tests for s390x-unknown-linux-gnu