filmov
tv
5 JVM OPTIONS and Settings EVERY JAVA DEVELOPER SHOULD KNOW #Shorts
Показать описание
Best JVM Internal courses for Further Learning:
Hello everyone. Welcome back to our channel.
Do you have any idea about JVM options? Hang on & tune in to find out.
So the first on the list is, PRINT GC
used to enable garbage collection logging, which is highly effective for latency-sensitive operations.
Next on the list is, Handling ‘OutOfMemory’ Error
This JVM option produces a stack dump when your JVM dies with an OutOfMemory Error. There is no expense involved unless an OOM really occurs.
The third one is PROFILING.
Java Profiling is the process of monitoring various JVM levels parameters such as Method Executions, Thread Executions, and Garbage Collections.
Fourth on the list is JAVA HEAP SIZE.
-Xms – Used to define starting heap size for JVM.
-Xmx – used to define the maximum heap size of JVM.
Last on the list is, Set Percentage of the heap
-XX:MaxHeapFreeRatio – sets the maximum percentage of heap free after GC to avoid shrinking.
-XX:MinHeapFreeRatio – sets the minimum percentage of heap free after GC to avoid expansion
Thank you for watching.
#Java #Programming #JVM #JVMoptions #bestonlinevoursesandcertification #5jvmoptionseveryjavadevelopershouldknow #Profiling #PrintGC #Handlingoutofmemoryerror #Javaheapsize #Setpercentageoftheheap #JVMbestoptions #Careeroptionsforjavadevelopers
Hello everyone. Welcome back to our channel.
Do you have any idea about JVM options? Hang on & tune in to find out.
So the first on the list is, PRINT GC
used to enable garbage collection logging, which is highly effective for latency-sensitive operations.
Next on the list is, Handling ‘OutOfMemory’ Error
This JVM option produces a stack dump when your JVM dies with an OutOfMemory Error. There is no expense involved unless an OOM really occurs.
The third one is PROFILING.
Java Profiling is the process of monitoring various JVM levels parameters such as Method Executions, Thread Executions, and Garbage Collections.
Fourth on the list is JAVA HEAP SIZE.
-Xms – Used to define starting heap size for JVM.
-Xmx – used to define the maximum heap size of JVM.
Last on the list is, Set Percentage of the heap
-XX:MaxHeapFreeRatio – sets the maximum percentage of heap free after GC to avoid shrinking.
-XX:MinHeapFreeRatio – sets the minimum percentage of heap free after GC to avoid expansion
Thank you for watching.
#Java #Programming #JVM #JVMoptions #bestonlinevoursesandcertification #5jvmoptionseveryjavadevelopershouldknow #Profiling #PrintGC #Handlingoutofmemoryerror #Javaheapsize #Setpercentageoftheheap #JVMbestoptions #Careeroptionsforjavadevelopers
Комментарии