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

Kevin Rushforth kcr at openjdk.org
Wed Jun 11 17:39:38 UTC 2025


On Wed, 11 Jun 2025 17:32:51 GMT, Phil Race <prr at openjdk.org> wrote:

>> modules/javafx.graphics/src/main/java/com/sun/marlin/OffHeapArray.java line 165:
>> 
>>> 163: 
>>> 164:     void free() {
>>> 165:         if (global) {
>> 
>> Trying to close the global arena results in an UnsupportedOperationException according to the docs. Not sure doing this manually adds anything.
>
> true

Right. I could remove it if you like, although it isn't hurting anything leaving it there.

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

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


More information about the openjfx-dev mailing list