Harmony
  1. Harmony
  2. HARMONY-2051

[drlvm][kernel] duplicate implementation of Process in kernel classes of DRLVM

    Details

    • Type: Task Task
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Classlib, DRLVM
    • Labels:
      None
    • Estimated Complexity:
      Moderate

      Description

      Eliminate duplicate implementation of j.l.Runtime.Process in kernel classes of DRLVM [1]. The classlib provides neat portlib-based reference implementation [2], which should be reused. These 2 impls are roughly identical, so one needs to made more scrupulous comparison and squeeze some features/fixes of [1] which may be missing in [2], then employ [2] in j.l.Runtime of DRLVM and drop [1].

      [1] working_vm\vm\vmcore\src\kernel_classes\javasrc\java\lang\Runtime.java + working_vm\vm\vmcore\src\kernel_classes\native\Runtime_[lnx|win].cpp
      [2] working_classlib\modules\luni\src\main\java\org\apache\harmony\luni\internal\process* + working_classlib\modules\luni\src\main\native\luni\shared\process.c

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Alexey Varlamov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development