This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void main(String args[]){ | |
int[] vet = {8, 9, 3, 5, 1}; | |
int aux = 0; | |
int i = 0; | |
System.out.println("Vetor desordenado: "); | |
for(i = 0; i<5; i++){ | |
System.out.println(" "+vet[i]); | |
} | |
System.out.println(" "); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Utilizando gcutil | |
Este exemplo verifica o PID 21891 e captura 7 amostras em 250 milisecond como intervalo e demonstra a saida especificada pelo gcutil. | |
jstat -gcutil 21891 250 7 | |
S0 S1 E O P YGC YGCT FGC FGCT GCT | |
12.44 0.00 27.20 9.49 96.70 78 0.176 5 0.495 0.672 | |
12.44 0.00 62.16 9.49 96.70 78 0.176 5 0.495 0.672 | |
12.44 0.00 83.97 9.49 96.70 78 0.176 5 0.495 0.672 | |
0.00 7.74 0.00 9.51 96.70 79 0.177 5 0.495 0.673 |