JDK 17 jdk.nio.mapmode.jmod - NIO Map Mode

JDK 17 jdk.nio.mapmode.jmod is the JMOD file for JDK 17 NIO Map Mode module.

JDK 17 NIO Map Mode module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.nio.mapmode.jmod.

JDK 17 NIO Map Mode module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.

JDK 17 NIO Map Mode module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\jdk.nio.mapmode.

You can click and view the content of each source code file in the list below.

✍: FYIcenter

jdk/nio/mapmode/ExtendedMapMode.java

/*
 * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */

package jdk.nio.mapmode;

import java.nio.MappedByteBuffer;
import java.nio.channels.FileChannel;
import java.nio.channels.FileChannel.MapMode;

/**
 * JDK-specific map modes.
 *
 * @since 14
 * @see java.nio.channels.FileChannel#map
 */
public class ExtendedMapMode {
    private ExtendedMapMode() { }

    /**
     * File mapping mode for a read-only mapping of a file backed by
     * non-volatile RAM.
     *
     * <p> The {@linkplain FileChannel#map map} method throws
     * {@linkplain UnsupportedOperationException} when this map mode
     * is used on an implementation that does not support it.
     *
     * @implNote On Linux, the {@code MAP_SYNC} and {@code
     * MAP_SHARED_VALIDATE} flags are specified to {@code mmap} when
     * mapping the file into memory.
     */
    public static final MapMode READ_ONLY_SYNC = jdk.internal.misc.ExtendedMapMode.READ_ONLY_SYNC;

    /**
     * File mapping mode for a read-write mapping of a file backed by
     * non-volatile RAM. {@linkplain MappedByteBuffer#force force}
     * operations on a buffer created with this mode will be performed
     * using cache line writeback rather than proceeding via a file
     * device flush.
     *
     * <p> The {@linkplain FileChannel#map map} method throws
     * {@linkplain UnsupportedOperationException} when this map mode
     * is used on an implementation that does not support it.
     *
     * @implNote On Linux, the {@code MAP_SYNC} and {@code
     * MAP_SHARED_VALIDATE} flags are specified to {@code mmap} when
     * mapping the file into memory.
     */
    public static final MapMode READ_WRITE_SYNC = jdk.internal.misc.ExtendedMapMode.READ_WRITE_SYNC;

}

jdk/nio/mapmode/ExtendedMapMode.java

 

Or download all of them as a single archive file:

File name: jdk.nio.mapmode-17.0.5-src.zip
File size: 1730 bytes
Release date: 2022-09-13
Download 

 

JDK 17 jdk.random.jmod - JDK Random Module

JDK 17 jdk.net.jmod - Net Module

JDK 17 JMod/Module Files

⇑⇑ FAQ for JDK (Java Development Kit) 17

2023-07-18, 464👍, 0💬