Spring Boot heap usage in inactive state

前端 未结 2 1861
被撕碎了的回忆
被撕碎了的回忆 2021-01-27 13:03

I have deployed a very simple spring boot application locally. It has only one class - controller. That\'s pretty much it. What I\'ve noticed is that heap allocation is not stab

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-27 13:23

    The fact that you are monitoring the application with VisualVM already leads to allocations in Java Heap.

    VisualVM talks to JVM through JMX; you are basically observing the effect of this communication.

提交回复
热议问题