This is an automated email from the ASF dual-hosted git repository.
leerho pushed a commit to branch java-11-experimental
in repository https://gitbox.apache.org/repos/asf/datasketches-memory.git
The following commit(s) were added to refs/heads/java-11-experimental by this
push:
new 2ee2fb6 Make comments consistent with java-11-experimental
2ee2fb6 is described below
commit 2ee2fb667b2c2a6f02b563a96eea80eff1bd6f44
Author: Lee Rhodes <[email protected]>
AuthorDate: Mon Mar 29 12:58:48 2021 -0700
Make comments consistent with java-11-experimental
---
src/main/java/org/apache/datasketches/memory/AllocateDirectMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/main/java/org/apache/datasketches/memory/AllocateDirectMap.java
b/src/main/java/org/apache/datasketches/memory/AllocateDirectMap.java
index 2dd0630..6e7b6e0 100644
--- a/src/main/java/org/apache/datasketches/memory/AllocateDirectMap.java
+++ b/src/main/java/org/apache/datasketches/memory/AllocateDirectMap.java
@@ -232,7 +232,7 @@ class AllocateDirectMap implements Map {
final int mapMode = resourceReadOnly ? MAP_RO : MAP_RW;
//final boolean isSync = true; //required as of JDK14, but it is more
complex
try {
- final long nativeBaseOffset =
+ final long nativeBaseOffset = //JDK14 add isSync
(long) FILE_CHANNEL_IMPL_MAP0_METHOD.invoke(fileChannel, mapMode,
mapPosition, mapSize); //JDK14 add isSync
return nativeBaseOffset;
} catch (final InvocationTargetException e) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]