[jfx15] RFR: 8201567: QuantumRenderer modifies buffer in use by JavaFX Application Thread [v2]

Kevin Rushforth kcr at openjdk.java.net
Thu Jul 23 13:04:25 UTC 2020

On Thu, 23 Jul 2020 12:34:43 GMT, Eric Bresie <github.com+370894+ebresie at openjdk.org> wrote:

>> Marked as reviewed by arapte (Reviewer).
> Just curious and this may be OBE by now but...   I see the check thread but when accessing the buffer itself, should it
> have some sort of synchronization of some type to make it more thread safe?

There is no need to synchronize the `getBuffer` method, since all it does is return the immutable buffer field.

In any case, this PR has been integrated, so if an additional issue is discovered, a new bug would need to be filed.


PR: https://git.openjdk.java.net/jfx/pull/255

More information about the openjfx-dev mailing list