Skip to content
  • Andreas Klebinger's avatar
    768fe644
    Add functions to check for weakly pinned arrays. · 768fe644
    Andreas Klebinger authored and Marge Bot's avatar Marge Bot committed
    This commit adds `isByteArrayWeaklyPinned#` and `isMutableByteArrayWeaklyPinned#` primops.
    These check if a bytearray is *weakly* pinned. Which means it can still be explicitly moved
    by the user via compaction but won't be moved by the RTS.
    
    This moves us one more stop closer to nailing down #22255.
    768fe644
    Add functions to check for weakly pinned arrays.
    Andreas Klebinger authored and Marge Bot's avatar Marge Bot committed
    This commit adds `isByteArrayWeaklyPinned#` and `isMutableByteArrayWeaklyPinned#` primops.
    These check if a bytearray is *weakly* pinned. Which means it can still be explicitly moved
    by the user via compaction but won't be moved by the RTS.
    
    This moves us one more stop closer to nailing down #22255.
Loading