In unchecked mode offheap classes are going to be desugared to value classes over Addr rather than Ref. Memory accesses will also become direct calls to unsafe. For this to work such classes will take more restricted kind of memory that guarantees that addresses are in fact physical addresses rather than virtual ones. This would improve performance at expense of safety.
In unchecked mode offheap classes are going to be desugared to value classes over
Addr
rather thanRef
. Memory accesses will also become direct calls to unsafe. For this to work such classes will take more restricted kind of memory that guarantees that addresses are in fact physical addresses rather than virtual ones. This would improve performance at expense of safety.