g1gc Questions
3
Solved
I am looking for a way to deserialize a String from a byte[] in Java with as little garbage produced as possible. Because I am creating my own serializer and de-serializer, I have complete freedom ...
Coniah asked 21/1, 2015 at 9:57
2
Solved
We are using java 1.8.144_b_01. We have a problem where G1GC sys usage spike suddenly eg: from 1 to 113 , 140 which is very high than user space cpu usage.
At that time Object Copy time becomes ve...
Interfile asked 10/3, 2018 at 9:13
5
I am facing a continues increase in GC pauses with G1GC algorithm. The service latencies continue to grow over time.
Once this happens, I restart my service and the latencies go back to normal. Pos...
Threewheeler asked 30/9, 2017 at 23:25
2
I've recently switched my Java application from CMS + ParNew to G1GC.
What I observed when I did the switch is the CPU usage went higher and the GC count + pause time went up as well.
My JVM flags ...
Deterioration asked 13/2, 2018 at 4:47
3
Solved
Can someone explain how the G1 Garbage Collector works please? I haven't been able to find any comprehensive, easy-to-understand descriptions anywhere yet.
Thanks
Atavism asked 21/5, 2010 at 12:2
2
Could you please answer me a question about JVM Garbage Collection process?
Why is heap divided into Eden, Survivor spaces and Old Generation?
When a young evacuation is processed objects are vis...
Kamp asked 27/11, 2017 at 4:52
2
We have been testing out G1 garbage collector recently with the following configuration:
-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseG1GC -XX:MaxGCPauseMillis=1250 -XX:+PrintTen...
Lancelot asked 17/8, 2017 at 2:43
2
Solved
JEP 192: String Deduplication in G1 implemented in Java 8 Update 20 added the new String deduplication feature:
Reduce the Java heap live-data set by enhancing the G1 garbage collector so that d...
2
Solved
Till Java 8, we have seen Parallel GC as default garbage collector but the recent release of Java (Java 9) came up with G1 GC as default garbage collector.
Why has Java moved to G1 GC ?
Is t...
Aleurone asked 23/9, 2017 at 8:20
2
Solved
My test code:
int SIZE = 1900;
int[][] array = new int[SIZE][];
for (int i = 0; i < SIZE; i++) {
array[i] = new int[1024 * 1024 / 4]; // 1MB
Thread.sleep(10);
if (i % 100 == 0 && i ...
Demurral asked 29/8, 2017 at 12:51
1
Solved
In HotSpot JVM GC Tuning Guide the UseGCOverheadLimit option is mentioned only on the pages about CMS and Parallel GCs. Additionally, on GC Ergonomics doc page the related options GCTimeLimit and G...
Trainband asked 28/8, 2017 at 19:19
16
Solved
Since Java 7 is going to use the new G1 garbage collection by default is Java going to be able to handle an order of magnitude larger heap without supposed "devastating" GC pause times? Has anybody...
Nieberg asked 12/2, 2010 at 18:11
1
Solved
1] Can anyone point to docs or explain in detail how "Ext Root Scanning" works in G1 GC, especially for JNI handles? (Specific to Java 7 if possible please)
2] Bonus: How different can we expect t...
Ide asked 25/4, 2017 at 16:16
6
Solved
String De-duplication:
Strings consume a lot of memory in any application.Whenever the garbage collector visits String objects it takes note of the char arrays. It takes their hash value and sto...
Cynic asked 20/3, 2017 at 18:52
1
Solved
when i studied G1 GC, I found this article: http://www.oracle.com/technetwork/articles/java/g1gc-1984535.html. In that article, there is something says as follow:
The G1 GC is a regionalized and...
Kelcie asked 3/3, 2017 at 2:56
16
Solved
I am getting this error in a program that creates several (hundreds of thousands) HashMap objects with a few (15-20) text entries each. These Strings have all to be collected (without breakin...
Jauregui asked 30/4, 2011 at 3:49
2
Solved
In Java 8 G1 GC, what is SATB buffer?
I saw this term in: http://www.oracle.com/technetwork/articles/java/g1gc-1984535.html
After searching via Google, didn't found it's definition.
Any help? Th...
1
A seemingly straightforward question: why does G1 GC spend so much time in the 'termination' phase? A non-full GC takes ~2 seconds, and from that, 1.5 sec is the termination (work stealing) phase.
...
Negative asked 20/12, 2016 at 9:24
1
Solved
I have the following problem:
There is a Java VM with Xmx Option set to 70000m = 70GB (Yes, it is that big). But if I monitor the before mentioned JVM, Max Heap is shown as 140000m (as seen in th...
1
Solved
I'm running Spark 2 and am trying to shuffle around 5 terabytes of json. I'm running into very long garbage collection pauses during shuffling of a Dataset:
val operations = spark.read.json(inPath...
Asberry asked 16/8, 2016 at 18:12
1
For years, we've been running Java services with modest heap sizes using +UseParallelOldGC. Now, we're starting to roll out a new service using a larger heap and the G1 collector. This is going pre...
Satirize asked 10/3, 2016 at 21:45
1
Solved
According to the documentation, XX:InitiatingHeapOccupancyPercent
Sets the Java heap occupancy threshold that triggers a marking cycle.
The default occupancy is 45 percent of the entire Java h...
Dibbell asked 20/4, 2016 at 22:12
1
We noticed occasional full GC’s with G1 garbage collector with concurrent-mark overflow. Once, there is a concurrent-mark-reset-for-overflow, this overflow will continue in the next concurrent mark...
Gracegraceful asked 15/4, 2016 at 14:29
2
I have been experimenting with G1GC with Java 8 (Oracle JVM) on one of my projects. My GC flags are effectively:
-Xms64m
-Xmx1024m
-XX:+UseG1GC
-XX:+PrintGCTimeStamps
-XX:+PrintGCDetails
-Xloggc:/...
1
Solved
I'm using the G1 garbage collector.
You can enable adaptive size policy logs with
-XX:+PrintAdaptiveSizePolicy
Here's sample output in the GC logs
1822.780: [G1Ergonomics (Heap Sizing) atte...
Rolanderolando asked 23/3, 2016 at 21:36
© 2022 - 2024 — McMap. All rights reserved.