This patch is to make some classes final in kernel.core component.
It should be final to improve readability and since you should never
extend it. It also allows the jvm to inline methods and improve
performance.
Change-Id: Ie74fb3a6a36075cd355bdc58f4fe1deb3fc4a82a
Signed-off-by: Wassim <wassim.nasrallah.36@gmail.com>
Reviewed-on: https://git.eclipse.org/r/74558
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
*
* @author Geneviève Bastien
*/
-public class VirtualCPU {
+public final class VirtualCPU {
private static final Table<VirtualMachine, Long, @Nullable VirtualCPU> VIRTUAL_CPU_TABLE = HashBasedTable.create();
*
* @author Geneviève Bastien
*/
-public class VirtualMachine {
+public final class VirtualMachine {
private static enum MachineType {
HOST,
*
* @author Alexandre Montplaisir
*/
-public class PerfEventLayout implements IKernelAnalysisEventLayout {
+public final class PerfEventLayout implements IKernelAnalysisEventLayout {
private PerfEventLayout() {}