The energy consumption for a given unit is directly related to the number of accesses and per access energy cost [37]. It can be observed from Figure that the interpreter consumes significantly more energy than in the JIT mode. A detailed breakdown of energy is shown in Figure . This is due to the fact that both the number of instructions and number of data accesses in the interpreter mode are higher than the JIT mode. For example, javac consumes 2.15 times more energy in the interpreter mode as compared to the JIT mode. Thus, the use of JIT compilers will be more beneficial not only in terms of performance (as is well-known [23]) but also from the energy viewpoint.
|
|