Skip to content

Commit

Permalink
JVM: string pool statistics
Browse files Browse the repository at this point in the history
  • Loading branch information
josephjacobmorris committed Dec 20, 2024
1 parent 3f117c7 commit c01d7ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Java/Performance and Memory/PerformanceAndMemoryTuning.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ String `intern()` enusures that for the same value of string same object is re-u
| `-XX:CICompilerCount=2` | Number of threads used for compiling. In bigger application increasing number of threads might speed it up. In 32 bit java min is 1 whereas in 64-bit it is 2 (one for server and one for client) |
| `-XX:CompilerThreshold=2` | Number of times the method has to be run before it is considered for compiling. |
| `-XX:+PrintCompilation` | Prints all the jvm flags even those deflaut values |
| `-XX:+PrintStringTableStatistics` | Prints jvm string pool statistics |
| `-XX:MaxMetaspaceSize` | control the maximum size of Metaspace |
| `-client` | Runs the jvm in client mode which is more memory efficient. Has less startup time |

Expand Down

0 comments on commit c01d7ba

Please sign in to comment.