阅读背景:

如果Java JVM只使用一个类,那么它是否会加载整个jar或ear?

来源:互联网 

Lets pretend you have a 3 Gb jar file and your application only uses a small class within it. Does the JVM load the whole jar file into memory or does it read the Table of Contents and load only the pieces it needs? Is this behavior controllable?Lets pretend you have a 3 Gb jar file and your




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: