am 4ff42ad6: Merge change 2843 into donut

Merge commit '4ff42ad6d7218b89435424b53951c1bdb8ef6b8b'

* commit '4ff42ad6d7218b89435424b53951c1bdb8ef6b8b':
  Use JNI region calls in MemoryFile read and write.