diff options
Diffstat (limited to 'doc/status.html')
-rw-r--r-- | doc/status.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/status.html b/doc/status.html index 175f6a29..cb454db8 100644 --- a/doc/status.html +++ b/doc/status.html | |||
@@ -43,6 +43,8 @@ ul li { padding-bottom: 0.3em; } | |||
43 | <a href="ext_jit.html">jit.* Library</a> | 43 | <a href="ext_jit.html">jit.* Library</a> |
44 | </li><li> | 44 | </li><li> |
45 | <a href="ext_c_api.html">Lua/C API</a> | 45 | <a href="ext_c_api.html">Lua/C API</a> |
46 | </li><li> | ||
47 | <a href="ext_profiler.html">Profiler</a> | ||
46 | </li></ul> | 48 | </li></ul> |
47 | </li><li> | 49 | </li><li> |
48 | <a class="current" href="status.html">Status</a> | 50 | <a class="current" href="status.html">Status</a> |
@@ -94,6 +96,17 @@ handled correctly. The error may fall through an on-trace | |||
94 | <tt>lua_atpanic</tt> on x64. This issue will be fixed with the new | 96 | <tt>lua_atpanic</tt> on x64. This issue will be fixed with the new |
95 | garbage collector. | 97 | garbage collector. |
96 | </li> | 98 | </li> |
99 | <li> | ||
100 | LuaJIT on 64 bit systems provides a <b>limited range</b> of 47 bits for the | ||
101 | <b>legacy <tt>lightuserdata</tt></b> data type. | ||
102 | This is only relevant on x64 systems which use the negative part of the | ||
103 | virtual address space in user mode, e.g. Solaris/x64, and on ARM64 systems | ||
104 | configured with a 48 bit or 52 bit VA. | ||
105 | Avoid using <tt>lightuserdata</tt> to hold pointers that may point outside | ||
106 | of that range, e.g. variables on the stack. In general, avoid this data | ||
107 | type for new code and replace it with (much more performant) FFI bindings. | ||
108 | FFI cdata pointers can address the full 64 bit range. | ||
109 | </li> | ||
97 | </ul> | 110 | </ul> |
98 | <br class="flush"> | 111 | <br class="flush"> |
99 | </div> | 112 | </div> |