RFR: 8359266: Delete the usage of AppContext in the GraphicsDevice
Alexey Ivanov
aivanov at openjdk.org
Tue Jun 24 12:52:32 UTC 2025
On Sat, 21 Jun 2025 00:17:26 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> That only affects the case where the second thread tries to read shared data (unrelated to GraphicsDevice) without synchronization, which was written before the first thread called getFullScreenWindow(). If visibility is required, it should be ensured by the caller. Depending on some internal and undocumented lock for that is not a good thing.
It is true… but it affects the fields of the full screen window itself. Doesn't any code path uses the fields of the full screen window after getting an object reference to it?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25818#discussion_r2163916863
More information about the client-libs-dev
mailing list