JVM arguments master sheet

This is a master sheet with most of the JVM arguments: JVM ArgumentDescription-XbatchDisables background compilation so that compilation of all methods proceeds as a foreground task until completed. To learn more click here.-Xbootclasspath:<paths>Specifies a list of directories, JAR files, and ZIP archives separated by colons (:)┬áin Unix and semicolons (;) in Windows to search for... Continue Reading →

Java String intern: Performance impact

java.lang.String#intern() is an interesting function in Java. When used at the right place, it has potential to reduce overall memory consumption of your application by eliminating duplicate strings in your application. To learn how intern() function works, you may refer to this blog. In this post let's discuss the performance impact of using java.lang.String#intern() function... Continue Reading →

In which region intern strings are stored?

intern() is an interesting function in java.lang.String object. intern() function eliminates duplicate string objects from the application and has potential to reduce overall memory consumption of your application. To understand how string intern() function works you may refer to this interesting blog. Intern strings are stored in a string pool in the JVM memory. JVM... Continue Reading →

Powered by WordPress.com.

Up ↑