The layout changes in JDK 15 seem to increase the need to make @Contended public. The author simply says:
There are security/reliability implications in allowing adversaries to construct huge "regular" objects. Let’s leave it at that.
Can you go into this? The solutions to deal with false sharing are hacky and brittle and need to be revisited for JDK 15. A public @Contended would solve this. So what is holding this back?
1
u/pmarschall Apr 20 '20
The layout changes in JDK 15 seem to increase the need to make
@Contendedpublic. The author simply says:Can you go into this? The solutions to deal with false sharing are hacky and brittle and need to be revisited for JDK 15. A public
@Contendedwould solve this. So what is holding this back?