Re: [Dev] [carbondump] Updating carbondump.sh for Java 8

2017-03-24 Thread KasunG Gajasinghe
+1. For Java7, we can collect permgen, and for Java8, we can collect metaspace dumps. On Fri, Mar 24, 2017 at 10:59 AM, Isuru Perera wrote: > Hi Nira, > > I also thought that. I think may be we can do the version check also. I'm > hoping to do a review on the script. Since we

Re: [Dev] [carbondump] Updating carbondump.sh for Java 8

2017-03-23 Thread Isuru Perera
Hi Nira, I also thought that. I think may be we can do the version check also. I'm hoping to do a review on the script. Since we rarely use that script to debug issues. Thanks! On Fri, Mar 24, 2017 at 10:51 AM, Niranjan Karunanandham wrote: > Hi isuru, > > On Fri, Mar 24,

Re: [Dev] [carbondump] Updating carbondump.sh for Java 8

2017-03-23 Thread Niranjan Karunanandham
Hi isuru, On Fri, Mar 24, 2017 at 10:38 AM, Isuru Perera wrote: > Hi, > > It'll be useful to have those details. I think we can just update the > command to work in Java 8 for now. Connecting to the JVM to get these kinds > of stats will have an impact on the server, but it

Re: [Dev] [carbondump] Updating carbondump.sh for Java 8

2017-03-23 Thread Isuru Perera
Hi, It'll be useful to have those details. I think we can just update the command to work in Java 8 for now. Connecting to the JVM to get these kinds of stats will have an impact on the server, but it should be okay as we run carbondump to debug the server. I think we must go through all

[Dev] [carbondump] Updating carbondump.sh for Java 8

2017-03-23 Thread Milinda Perera
Hi, In carbondump.sh [1] we retrieve permgen stats in Java Heap (jmap -permstat $PID) . Since Java 8 onwards, it is replaced by Metaspace and permstat option is no longer exists in jmap tool. Metaspace can be retrieved by: jmap -clstats Shall we remove permstat and replace with clstats or