Support Process pool feature 45/291545/14
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 18 Apr 2023 06:39:19 +0000 (06:39 +0000)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 19 Apr 2023 04:39:33 +0000 (04:39 +0000)
commitbe085bf2fd2ce796f7bfaf081f75937fa55ad3e7
treedd70ada34e00f98aefffd4c855ed010ad6108243
parent694ba7f8fa22958cc86333a82455edebacd2727a
Support Process pool feature

Launchpad is introducing a process pool. The process pool class creates
child processes, which are used to execute application launch requests or
to create loader processes. This feature is used to improve performance.
The PSS memory usage of candidate processes is not high, typically ranging
from 400 to 500.

Change-Id: I0142e7c15d12295741c46fa5e203caa664dea0d9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
16 files changed:
CMakeLists.txt
packaging/launchpad.spec
src/launchpad-process-pool/app_executor.cc
src/launchpad-process-pool/app_executor.hh
src/launchpad-process-pool/loader_executor.cc
src/launchpad-process-pool/loader_executor.hh
src/launchpad-process-pool/process_pool.cc [new file with mode: 0644]
src/launchpad-process-pool/process_pool.hh [new file with mode: 0644]
src/launchpad-process-pool/worker.cc
src/launchpad-process-pool/worker.hh
src/lib/launchpad-common/CMakeLists.txt
src/lib/launchpad-common/app_packet.cc [new file with mode: 0644]
src/lib/launchpad-common/app_packet.hh [new file with mode: 0644]
src/lib/launchpad-common/pkgconfig/liblaunchpad-common.pc.in
src/lib/launchpad-common/procfs.cc
src/lib/launchpad-common/procfs.hh