Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8344547

Add an example of FFM memory mapping to the guides

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 24
    • None
    • docs
    • None

      It would be useful to add an example of memory mapping using the FFM API in the guides.

      The JavaDocs for memory mapping with FFM is here: https://download.java.net/java/early_access/jdk24/docs/api/java.base/java/nio/channels/FileChannel.html#map(java.nio.channels.FileChannel.MapMode,long,long,java.lang.foreign.Arena)

      Here is a video of me describing memory mapping with FFM: https://youtu.be/t8c1Q2wJOoM?t=1772

            rgallard Raymond Gallardo
            pminborg Per-Ake Minborg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: