Very long duration of Finalize marking in the Remark stage of G1GC

Thomas Schatzl thomas.schatzl at oracle.com
Wed Oct 14 10:38:57 UTC 2015


Hi Ivan,

  just some random idea: do you know if your application creates very
large arrays containing object references? I.e. in the range of a few
hundred MB?

We might run into one of them during remark sometimes, and they may
prevent scaling, similar to
https://bugs.openjdk.java.net/browse/JDK-8057003 .

It would be nice if you could run your application with -XX:
+UnlockExperimentalVMOptions -XX:G1LogLevel=finest -XX:
+PrintAdaptiveSizePolicy -XX:+G1TraceEagerReclaimHumongousObjects to get
an idea about that.

It would be nice to have a log with a long remark pause and a few young
gcs before that.

This is really only a guess, so the problem might not be related at all.

Thanks,
  Thomas




More information about the hotspot-gc-use mailing list