zamblauskas/jstatplot

Handle '-' values

Closed this issue · 0 comments

Might encounter '-' instead of a number value, e.g. when using jstat from Java 8, but running application on Java 7.

The file would look like:

Timestamp        S0C    S1C    S0U    S1U      EC       EU        OC         OU       MC     MU    CCSC   CCSU   YGC     YGCT    FGC    FGCT     GCT   
            0.0 87040.0 87040.0  0.0    0.0   525312.0   0.0    1397760.0     0.0       -      -      -      -         0    0.000   0      0.000    0.000
            1.1 87040.0 87040.0  0.0    0.0   525312.0 136759.2 1397760.0     0.0       -      -      -      -         0    0.000   0      0.000    0.000
            2.1 87040.0 87040.0 8210.5  0.0   525312.0 186628.3 1397760.0     16.0      -      -      -      -         2    0.016   0      0.000    0.016
            3.1 20992.0 87040.0  0.0   8235.1 1050624.0 651860.7 1397760.0     32.0      -      -      -      -         5    0.029   0      0.000    0.029
            4.1 20992.0 20480.0  0.0    64.0  2101248.0   0.0    1397760.0    8182.2     -      -      -      -         7    0.041   0      0.000    0.041
            5.1 20992.0 21504.0  64.0   0.0   4201984.0 588703.9 1397760.0    8182.2     -      -      -      -         8    0.041   0      0.000    0.041
            6.1 20992.0 21504.0  64.0   0.0   4201984.0 3111721.2 1397760.0    8182.2     -      -      -      -         8    0.041   0      0.000    0.041
            7.1 21504.0 512.0   0.0    64.0  4015616.0 1366299.0 1397760.0    8182.2     -      -      -      -         9    0.042   0      0.000    0.042