8259032: MappedMemorySegmentImpl#makeMappedSegment() ignores Unmapper#pagePosition

Co-authored-by: Uwe Schindler <uschindler@openjdk.org>
Reviewed-by: alanb
This commit is contained in:
Maurizio Cimadamore 2021-01-06 12:18:43 +00:00
parent 80110dac91
commit e66187d885
2 changed files with 23 additions and 1 deletions

View file

@ -889,7 +889,7 @@ public class FileChannelImpl
@Override
public long address() {
return address;
return address + pagePosition;
}
@Override