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

[drlvm][memory] Native memory management and tuning

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • DRLVM
    • None

    Description

      There are several problems in DRLVM with native memory usage. For example:

      • Native memory usage couldn't be monitored currently in details via java.lang.management functionality
      • No explicit way to replace system native memory allocator to other memory managers in order to improve performance or footprint
      • Too many variants of the native memory allocations in DRLVM
      • Poor memory usage control (like leaks, double free calling, etc.)
      • Potential crash in diagnostics when OutOfMemory occur
      • Frequent native memory usage could cause OutOfMemory if GC wouldn't be timely called
      • No detail trace for the native memory usage

      Adding of some functionality to solve these would be hepful I think?

      Attachments

        1. memmgr.patch
          23 kB
          Andrey Yakushev
        2. memmgr.patch
          23 kB
          Andrey Yakushev
        3. memmgr2.patch
          0.7 kB
          Li-Gang Wang

        Activity

          People

            mcfirst Pavel Pervov
            avyakush Andrey Yakushev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: