Is Multi-Threaded algorithm required to make use of Multi-core processors?

后端 未结 4 2033
长情又很酷
长情又很酷 2021-02-03 11:58

I was just wondering whether we actually need the algorithm to be muti-threaded if it must make use of the multi-core processors or will the jvm make use of multiple core\'s eve

4条回答
  •  一生所求
    2021-02-03 12:32

    Your implementation needs to be multi-threaded in order to take advantage of the multiple cores at your disposal.

    Your system as a whole can use a single core per running application or service. Each running application, though, will work off a single thread/core unless implemented otherwise.

提交回复
热议问题