-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
None
-
False
-
-
-
---
per cu.
~~~
I am running an app which retrieves data from a DB2 db. Using multi-stage docker builds, I build the app in both jvm and native mode. Running an hour long load test on the application, I see the native app cpu usage is almost 4-5 times (25-35m compared to 5-10m) the jvm build. I understand GC in native build is not as efficient as a JVM build, but could there be other reason the cpu is so high.
Even when idle (with no load), the cpu usage in native build 4-5 times higher than a jvm build.
~~~
Cu. has provided a reproducer, which Iam attaching to this jira