Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-982

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

    Details

    • Type: Improvement
    • Status: Open
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: