RFR: 8334137: Marlin: replace sun.misc.Unsafe memory access methods with FFM [v8]

Andy Goryachev angorya at openjdk.org
Wed Jun 11 17:54:36 UTC 2025


On Wed, 11 Jun 2025 17:44:54 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> Since global is the special case, it seemed easier to keep the existing constructor and only pass "global=true" in the one place that's needed -- the static initializer of `MaskMarlinAlphaConsumer`.
>
> Although... there is only one use now of the default constructor, so it would be trivial to change it and dispense with the first constructor.

it's a minor thing;  we could do it later if you plan a follow-up - I more dislike the idea of having an unused array...

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/1814#discussion_r2140762139


More information about the openjfx-dev mailing list