Remix.run Logo
HexDecOctBin 3 days ago

But if I don't care for object atomicity, can I get struct-like behaviour in Java for arbitrary large types?

cogman10 2 days ago | parent [-]

From elsewhere I've seen that this is something they are thinking about offering but nothing concrete has surfaced. It would be an opt-in sort of thing where you say "I'm ok with my code breaking if I misuse this class".

It will likely require you poke in the `jdk.internal` package space.