TruffleRuby - GraalVM Community Edition 1.0 RC11
Pre-release
Pre-release
·
17228 commits
to master
since this release
New features:
- macOS clocks
CLOCK_MONOTONIC_RAW,_MONOTONIC_RAW_APPROX,_UPTIME_RAW,
_UPTIME_RAW_APPROX, and_PROCESS_CPUTIME_IDhave been implemented (#1480). - TruffleRuby now automatically detects native access and threading permissions
from theContextAPI, and can run code with no permissions given (Context.create()).
Bug fixes:
- FFI::Pointer now does the correct range checks for signed and unsigned values.
- Allow signal
0to be used withProcess.kill(#1474). IO#dupnow properly sets the newIOinstance to be close-on-exec.IO#reopennow properly resets the receiver to be close-on-exec.StringIO#set_encodingno longer raises an exception if the underlying
Stringis frozen (#1473).- Fix handling of
Symbolencodings inMarshal#dumpandMarshal#load(#1530).
Compatibility:
- Implemented
Dir.each_child. - Adding missing support for the
close_othersoption toexecandspawn. - Implemented the missing
MatchData#named_capturesmethod (#1512).
Changes:
Process::CLOCK_constants have been given the same value as in standard
Ruby.
Performance:
- Sped up accesses to native memory through FFI::Pointer.
- All core files now make use of frozen
Stringliterals, reducing the number
ofStringallocations for core methods. - New -Xclone.disable option to disable all manual cloning.