diff options
| author | Mike Pall <mike> | 2020-09-30 01:31:27 +0200 |
|---|---|---|
| committer | Mike Pall <mike> | 2020-09-30 01:34:49 +0200 |
| commit | e9af1abec542e6f9851ff2368e7f196b6382a44c (patch) | |
| tree | 4b6d76732347a402abb43c6efa5ec3e01a4d61f0 /doc | |
| parent | e67e2040be693122b54fc83797cdc9eb07221aea (diff) | |
| download | luajit-e9af1abec542e6f9851ff2368e7f196b6382a44c.tar.gz luajit-e9af1abec542e6f9851ff2368e7f196b6382a44c.tar.bz2 luajit-e9af1abec542e6f9851ff2368e7f196b6382a44c.zip | |
Add support for full-range 64 bit lightuserdata.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/status.html | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/doc/status.html b/doc/status.html index 0aafe13a..fd0ae8ba 100644 --- a/doc/status.html +++ b/doc/status.html | |||
| @@ -91,17 +91,6 @@ handled correctly. The error may fall through an on-trace | |||
| 91 | <tt>lua_atpanic</tt> on x64. This issue will be fixed with the new | 91 | <tt>lua_atpanic</tt> on x64. This issue will be fixed with the new |
| 92 | garbage collector. | 92 | garbage collector. |
| 93 | </li> | 93 | </li> |
| 94 | <li> | ||
| 95 | LuaJIT on 64 bit systems provides a <b>limited range</b> of 47 bits for the | ||
| 96 | <b>legacy <tt>lightuserdata</tt></b> data type. | ||
| 97 | This is only relevant on x64 systems which use the negative part of the | ||
| 98 | virtual address space in user mode, e.g. Solaris/x64, and on ARM64 systems | ||
| 99 | configured with a 48 bit or 52 bit VA. | ||
| 100 | Avoid using <tt>lightuserdata</tt> to hold pointers that may point outside | ||
| 101 | of that range, e.g. variables on the stack. In general, avoid this data | ||
| 102 | type for new code and replace it with (much more performant) FFI bindings. | ||
| 103 | FFI cdata pointers can address the full 64 bit range. | ||
| 104 | </li> | ||
| 105 | </ul> | 94 | </ul> |
| 106 | <br class="flush"> | 95 | <br class="flush"> |
| 107 | </div> | 96 | </div> |
