Can you add PrintReferenceGC to print out number of references for each gc?

Thanks

Jenny


On 07/10/2017 05:52 AM, Nicolae Mihalache wrote:
I didn't have verbose gc enabled but I did enable it, and here is the log in the last 3 days:
https://drive.google.com/drive/u/0/folders/0B8_hkIRtZSShdkdUTGhRMjNPVVk


The "Full GC" is related to a jmap -histo:live I was running.

On Fri, Jul 7, 2017 at 11:16 PM, Bernd Eckenfels <e...@zusammenkunft.net <mailto:e...@zusammenkunft.net>> wrote:

    Can you upload the verbose GC log somewhere? I suspect you don't
    see old/mixed GCs since 30h.

    Gruss
    Bernd
-- http://bernd.eckenfels.net
    ------------------------------------------------------------------------
    *From:* hotspot-gc-use <hotspot-gc-use-boun...@openjdk.java.net
    <mailto:hotspot-gc-use-boun...@openjdk.java.net>> on behalf of
    Nicolae Mihalache <xproma...@gmail.com <mailto:xproma...@gmail.com>>
    *Sent:* Friday, July 7, 2017 1:58:11 PM
    *To:* hotspot-gc-use@openjdk.java.net
    <mailto:hotspot-gc-use@openjdk.java.net>
    *Subject:* SoftReferences not cleaned up
    Hello,

    I have problems understanding why the SoftReferences are not
    cleaned up.  This is my version of java:
    java -version
    java version "1.8.0_92"
    Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
    Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode)

    and I run it with the options -Xmx512m  -XX:SoftRefLRUPolicyMSPerMB=1

    Still the number of SoftReferences keep increasing and I see that
    some of them are 30+ hours old. I have a heap dump:
    https://drive.google.com/open?id=0B8_hkIRtZSShNUtTZUx3UTFuMEk
    <https://drive.google.com/open?id=0B8_hkIRtZSShNUtTZUx3UTFuMEk>

    I don't know how to debug further, any hint would be appreciated.

    thanks,
    nicolae

    _______________________________________________
    hotspot-gc-use mailing list
    hotspot-gc-use@openjdk.java.net
    <mailto:hotspot-gc-use@openjdk.java.net>
    http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use
    <http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use>




_______________________________________________
hotspot-gc-use mailing list
hotspot-gc-use@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use

_______________________________________________
hotspot-gc-use mailing list
hotspot-gc-use@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use

Reply via email to