Harmony
  1. Harmony
  2. HARMONY-982

[classlib][portlib] Portlib should be extended to support NIO's mmap funtions

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Classlib
    • Labels:
      None
    • Estimated Complexity:
      Moderate

      Description

      The port layer currently has the following memory mapping API's

      hymmap_map_file()
      hymmap_munmap_file()
      hymmap_capabilities()

      However, these assume that a file exists, that it will be mapped read-only and that the mapping will only happen to whole file. All these assumptions are broken by the nio requirements, so that the current NIO's mmap features are implemented by platform-dependent native codes.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Paulex Yang
            Reporter:
            Paulex Yang
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development