5 ms·
Yeah like https://doc.rust-lang.org/std/pin/ https://doc.rust-lang.org/std/pin/ Maybe you could propose the idea to the jdk tracker or mailing lists?https://mai
by The_rationalist 5y ago
Yeah like https://doc.rust-lang.org/std/pin/ https://doc.rust-lang.org/std/pin/
Maybe you could propose the idea to the jdk tracker or mailing lists?https://mail.openjdk.java.net/pipermail/jdk-dev/2022-February/006368.html https://mail.openjdk.java.net/pipermail/jdk-dev/2022-Februar...
- java-man 5y agoAll my life, large corporations did nothing but ignore me. I basically gave up at this point. You are right - something like Pin in rust. It will be a new language feature, there are backward compatibility aspects, and the fact that it will need to be correctly done by all implementations (or it would fail its stated purpose). DirectByteBuffer provides a certain guarantee as it is. On the other hand, the secrets might still be leaked via paging, so even this solution is a partial one.