Official support for Unsafe

Brian Goetz brian.goetz at oracle.com
Fri Jan 12 17:00:58 UTC 2024


Indeed, this is the whole question: how much of *everyone’s* safety are we willing to trade to make the already-pretty-good, 99.999% case run a little faster.

On Jan 12, 2024, at 11:52 AM, Maurizio Cimadamore <maurizio.cimadamore at oracle.com<mailto:maurizio.cimadamore at oracle.com>> wrote:

Heck, looking at the results of the 1brc competition, your pure Java solution (no Unsafe, just FFM) ended up scoring quite high (3rd!) - at some point the question has to become: how much safety I'm willing to sacrifice to get an extra 1% ? I know that's a subjective decision, of course, but it's one that, as a community, we need to gripple with (as that has deep repercussions on the rest of the ecosystem).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-dev/attachments/20240112/5fbc2a52/attachment.htm>


More information about the amber-dev mailing list