public class JoinPointMeasurements1 extends PerformanceTest (Code)
JoinPoint micro-measurements.
Performance micro-measurements tests for method boundaries,
fields accesses and modifications, exception handlers:
1) INVOKEVIRTUAL -> invoke a normal method
2) SYNC INVOKEVIRTUAL -> invoke a normal but synchronized method
3) INVOKEINTERFACE -> invoke a method through an interface
4) INVOKESPECIAL -> invoke a private method
5) INVOKESTATIC -> invoke a static method
6) GETFIELD -> used when a field has been read
7) PUTFIELD -> used when a field has been write
8) Exception Catch
9) Exception Throw
Each test is executed "RUNS" times.
author: Angela Nicoara
Inner Class :public class TestException extends Exception
Inner Class :public static class TestHook extends JoinPointHook