Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
关于 java GC option -Xminf,它指定垃圾回收后应该空闲的堆的最小百分比。如果可用空间低于此数量,JVM 会尝试扩展堆。
-Xminf
但是,关于免费百分比,我在这里有一个问题。该值是如何计算的?是从100%*freeHeap/AllocatedHeap还是100%*freeHeap/MaximumHeap?因为它不同,你知道,请帮助我。
100%*freeHeap/AllocatedHeap
100%*freeHeap/MaximumHeap
提前致谢
Its rather freeHeap/AllocatedHeap. And it is not percentage but a decimal number between 0 and 1. Default value is 0.3.