G1GC and finalizer queue

2016-10-19 Thread Hongkai Liu
Hi, our application (Gerrit) consumes more and more memory and Yourkit showed up with 18M Jdbc4PreparedStatement objects in "pending finalization" which uses up

Re: G1GC and finalizer queue

2016-10-19 Thread Bernd Eckenfels
Hello, the finalize() is in one of the parent classes. http://grepcode.com/file/repo1.maven.org/maven2/postgresql/postgresql/9.1-901.jdbc4/org/postgresql/jdbc2/AbstractJdbc2Statement.java#803 I am not sure if youkit shows unreferenced or referenced objects in "pending finalization". If it is ref

Re: G1GC and finalizer queue

2016-10-19 Thread Vitaly Davidovich
On Wednesday, October 19, 2016, Bernd Eckenfels wrote: > Hello, > > the finalize() is in one of the parent classes. > > http://grepcode.com/file/repo1.maven.org/maven2/ > postgresql/postgresql/9.1-901.jdbc4/org/postgresql/jdbc2/ > AbstractJdbc2Statement.java#803 > > I am not sure if youkit shows