--- old/src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/MemorySegment.java 2019-12-09 18:35:54.455289635 +0000
+++ new/src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/MemorySegment.java 2019-12-09 18:35:53.991278379 +0000
@@ -79,7 +79,7 @@
*
closing a mapped memory segment results in the backing memory-mapped file to be unmapped
* closing an acquired memory segment does not result in the release of resources
* (see the section on thread confinement for more details)
- * closing a buffer, or a heap segment does not have any side-effect, other than making the marking the segment
+ * closing a buffer, or a heap segment does not have any side-effect, other than marking the segment
* as not alive (see {@link MemorySegment#isAlive()}). Also, since the buffer and heap segments might keep
* strong references to the original buffer or array instance, it is the responsibility of clients to ensure that
* these segments are discarded in a timely manner, so as not to prevent garbage collection to reclaim the underlying