P65关于参数-XX:MetaspaceSize,并不能指定初始空间大小
daleqq opened this issue · comments
daleqq commented
原文为:
-XX:MetaspaceSize : 指定元空间的初始空间大小
但根据官方文档描述如下:
Sets the size of the allocated class metadata space that will trigger a garbage collection the first time it is exceeded. This threshold for a garbage collection is increased or decreased depending on the amount of metadata used. The default size depends on the platform.
初始大小应该是JVM决定的,这个参数只控制GC的阈值。