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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Classlib
    • None
    • 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

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

            Dates

              Created:
              Updated: