My Java app has a program which executes multiple threads on the same time to complete a task. It works really well on my local computer as it has 4 Cores and 8 Logical Processors but when I deploy my app on cloud foundry, it doesn't allow to create more than 1 thread. I debugged and found that Cloud Foundry JVM has only 1 CPU allocated therefore it cannot run multiple threads simultaneously.
How can I fix this problem?
Do I need to buy more CPUs or There is a way to change JVM configuration to set multiple CPUs for the java app.
