Hi Pas , If we are not using "XX:InitiatingHeapOccupancyPercent" this JVM arguments , then still default value of that parameter is 45% so when Heap usage reaches to 45 it should trigger the GC but it is not triggering the GC. Or do we need to set this parameter then it will work?.
And one more thing i want to understand , is it recommended to use "UseStringDeduplication" jvm arguments. if yes then is there any disadvantage if using this option? Thanks, Mohd Shaban On Mon, Feb 24, 2020 at 2:38 PM Pas <pasthe...@gmail.com> wrote: > Hello, > > Are you familiar with how Initiating Heap Occupancy Percent works in G1? > Do you want something else? > > > > https://docs.oracle.com/javase/9/gctuning/garbage-first-garbage-collector.htm#JSGCT-GUID-572C9203-AB27-46F1-9D33-42BA4F3C6BF3 > > > https://docs.oracle.com/en/java/javase/13/gctuning/garbage-first-garbage-collector.html#GUID-AC383806-7FA7-4698-8B92-4FD092B9F368 > > > > Pas > > > > On Mon, Feb 24, 2020, 08:45 mohd shaban <mohdshaban000...@gmail.com> > wrote: > >> Hi Team, >> >> Is there a way to force GC when heap usage goes beyond a certain >> threshold?. >> I am using G1GC Algorithm. >> >> Thanks, >> Mohd Shaban >> _______________________________________________ >> hotspot-gc-use mailing list >> hotspot-gc-use@openjdk.java.net >> https://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use >> >
_______________________________________________ hotspot-gc-use mailing list hotspot-gc-use@openjdk.java.net https://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use