Subject: CVS commit: pkgsrc/devel/MoarVM
From: Makoto Fujiwara
Date: 2022-01-23 14:18:37
Message id: 20220123131837.34353FB24@cvs.NetBSD.org

Log Message:
(devel/MoarVM) Updated 2021.09 to 2021.12

New in 2021.12

Core:
+ Allocate frame work and, when possible, environment registers on the
  callstack [fd571614][9266e794][7eca0ed3][d83edbea]
+ Negative numbers should not be prime [1bd61725]
+ Fix segfaults when a frame has more than 8192 locals [24392a32]
+ Some small optimizations for frame allocation [9903a543][fcddd121]
  [4d145b46][93809811]
+ When NativeCall is libffi, copy `ffi_ret_type` and `ffi_arg_types`
  [a2a82f99]
+ When NativeCall is libffi, don't leak ffi_arg_types during GC [a3c17d0f]
+ Avoid thread safety issues in intern lookups [08d41d5e]
+ Fix threading issues caused by misalignment in --valgrind builds
  [ea5a86a1]
+ Remove counter productive NULL checks in decont ops [8aca849f]
+ Dispatcher replace arg syscall [68b8f429][ed0c8ec0][4cdce310][0a5b37a1]
+ Migrate special return to callstack and simplify return handling
  [05b34685][485ca825][f58cf69f][139f54aa][feba1cd5][3f45b234][8e197406]
  [776a1e3c][4adf3a2c][ce19abf2][0f43204e][2f423b20][b8e90bf8][cb7deb4b]
  [843cf0f3][cd3b759b][f2685cd9][9f22ccc2]
+ Mark nqp::radix as :pure [9d5bcfc5]
+ New disp nativecall [e3614b05][8b33b49a][1eb6bd4c][58cb30a8]
  [3f6ffa19][3881e22e][7dd49341][d44be4f2][2acd842a][b0b0638e][a9c3db5d]
  [7de49439][ece63176][40267983][8aac4bf7][d5956209][5b477341][e403ec59]
  [21f6f323][87442f53][ee404907][960d87db][1e0d70c4][2e2f6607][4fd9c73a]
  [cfcab847][d843f4ab][cd9541be][9bbd50cd][795d75ed][785d3e03][e1b5e35d]
  [c451fede][35963970][45692bbc]
+ Properly extend int return values of native calls to 64 bits [bd83921d]
+ Fix use of uninitialized memory in native callbacks with libffi
  [0006714d]
+ Close socket on async error during an async connection [2a124542]
+ Fix various callstack region record related failures [e7e0bdc0][469bf913]
  [6903c952][c15c093d]
+ Alloca the nativecall args that we can [5503065c]
+ Deserialize empty hashes robustly [c1e8775f][2fa51c61][0a674c8c]
+ Fix segfaults due to race condition when initializing native call sites
  [207db4bb]
+ Fix segfault with void native calls [fd6a4103][768228b3]

GC:
+ Fix possible access to fromspace in code_pair_configure_container_spec
  [cd809ee4][0821570a]
+ Fix possible access to fromspace after MVM_capture_replace_arg [81082e1c]
+ Fix possible access to fromspace in MVM_disp_program_run [6fd62329]
+ Fix possible access to fromspace in native calls [f4aa22ad]
+ Fix possible access to fromspace when autoboxing return values [f0e4b08c]

JIT:
+ Improve the jit implementation of nqp::abs_i [52c4a6d7]
+ Use callp instead of call in jit of new(mixin)type [ba03cb2e]
+ Lego JIT of getcurhllsym [4c3f4cde]
+ Fix race conditions in JIT compiled dispatches [4c6755f4]
+ Fix JITed return from nested runloops [8a91bf8e]

Spesh:
+ Eliminate hllbool/boot-boolify-boxed-int pairs in spesh [14a8befd]
+ show annotation for delayed temps in spesh log [10e5344c]
+ Fix invalid pred chain caused by MVM_spesh_manipulate_split_BB_at
  [44c88da7]
+ Fix out of bounds read of PHI facts in spesh [8a684b33]
+ Fix uninitialized register after PEA and inlining [bb719a63]

Strings:
+ Use alloca in MVM_string_memmem_grapheme32str... [9a37bb61]

New in 2021.10

Special:
+ Introduce a new generalized dispatch mechanism.
  It results in a more uniform architecture for all kinds
  of dispatch, delivering better performance on a range of
  langauge features.
  For more information see \ 
https://6guts.wordpress.com/2021/09/29/the-new-moarvm-dispatch-mechanism-is-here/

6model:
+ [b75d0047]  Add `.new()` suggestion to type object errors

Core:
+ [e28e06de] Correct libffi/dyncall discrepancy
+ [e66404a8] Ensure stable order of flattened named args
+ [f7d6bc61] Avoid locking on intern cache lookup
+ [039cc584] Fix two leaks missed by `--full-cleanup`

Debugserver:
+ [ab2a3f01] Normalize filenames for debug server
+ [137ca834] Produce one breakpoint instruction per line
+ [b5b276ff] Fix issues with resuming suspended threads
+ [8f7d970a] Only produce debugger debugging output when asked
+ [746175bc] Fix regression in stepping
+ [cedebdbf] Add more debug output for stepping
+ [86d0a050] Avoid duplicate response for suspend/resume all

JIT:
+ [a6ff2c03] Fix segfault in lego jit of `composetype`
+ [3a1346a4] Fix typo in JIT of `scobjcount`
+ [4f0fb9dd] JIT `(bind|get)exmessage`
+ [e4765d6c] JIT `getlexrel(caller)`
+ [3fb968ae] JIT `loadlib`
+ [029030ab] JIT `markcode(static|stub`)
+ [84348c9f] JIT `(new(mixin)|compose)type`
+ [989a8750] JIT `parameterizetype`
+ [87df9196] JIT `sha1`
+ [8e326cbc] JIT `seek_fh`
+ [bde03151] JIT `loadext`
+ [a0f9f387] JIT `setcodename`
+ [70b57ed2] JIT `throwpayloadlexcaller`
+ [f27b7fac] JIT `setparameterizer`
+ [0d01a32b] JIT `settypefinalize`
+ [890e65c6] JIT `usecompile(e|r)hllconfig`

Strings:
+ [665ab937,3d478190] Stream Decoder: Disallow incomplete code at EOF

Other:
+ [79ac88ea] Improve `MVM_bithacks_next_greater_pow2` function
+ [e22a190b] Doc research on scoping for an AArch64 JIT port

Tooling/Build:
+ [9b6dd5ce] Remove Ubuntu 16.04 jobs from CI pipeline
+ [76afe93c] Simplify cloning NQP and Rakudo repos in CI jobs

Files:
RevisionActionfile
1.34modifypkgsrc/devel/MoarVM/Makefile
1.13modifypkgsrc/devel/MoarVM/PLIST
1.24modifypkgsrc/devel/MoarVM/distinfo