File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- Sample to show allocations in Java Flight Recording
2- ===================================================
1+ Sample to show allocations in a Java Flight Recording
2+ =====================================================
33
44This program checks whether a number is prime.
55
@@ -12,8 +12,8 @@ Run the program and also make a profiling recording.
1212
1313In Memory -> Allocation tab, you should see a high allocation rate.
1414
15- Also see Memory -> Garbage Collections tab and check the frequency of GC events.
15+ Also, see Memory -> Garbage Collections tab and check the frequency of GC events.
1616
1717### Improving Performance
1818
19- Try the program again after changing ` Long ` types to primitive ` long `
19+ Try the program again after changing ` Long ` types to primitive ` long ` .
Original file line number Diff line number Diff line change 1- Sample to show hot methods in Java Flight Recording
2- ===================================================
1+ Sample to show hot methods in a Java Flight Recording
2+ =====================================================
33
44This program checks whether a given random number is primitive or not.
55
Original file line number Diff line number Diff line change 1- Sample to show latencies in Java Flight Recording
2- =================================================
1+ Sample to show latencies in a Java Flight Recording
2+ ===================================================
33
44This program has two threads: Even and Odd to print Even and Odd numbers.
55
You can’t perform that action at this time.
0 commit comments