13.10.2014 Views

OPTIMIZING THE JAVA VIRTUAL MACHINE INSTRUCTION SET BY ...

OPTIMIZING THE JAVA VIRTUAL MACHINE INSTRUCTION SET BY ...

OPTIMIZING THE JAVA VIRTUAL MACHINE INSTRUCTION SET BY ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

67<br />

Test Total Weighted<br />

Condition Performance Average<br />

Change (s) (Percent)<br />

Base 0.00 0.00<br />

Load 0.63 0.46<br />

Store -0.43 -0.31<br />

Load Store -0.02 -0.01<br />

Branch -1.14 -0.83<br />

Constant -1.11 -0.80<br />

Constant Widening -0.83 -0.60<br />

LSC -0.44 -0.32<br />

LSCB -2.02 -1.46<br />

Complete -1.99 -1.44<br />

Table 4.9: Sun Performance<br />

marks that suffered the greatest performance loss under Complete despecialization<br />

was 227 mtrt which executed almost 12.7 percent more slowly. Examining this<br />

figure further reveals that each of the despecialization conditions that included the<br />

despecialization of branch bytecodes had a similar impact on the performance of the<br />

227 mtrt benchmark, leading to the conclusion that 227 mtrt likely makes heavy<br />

use of those bytecodes and that their despecialization may negatively impact the<br />

effectiveness of the RVM’s optimizing compiler.<br />

4.2.5 Sun Performance<br />

The final virtual machine considered in this study was developed by Sun. It makes<br />

use of both an interpreter and a JIT compiler. However code generated with the<br />

JIT compiler accounts for most of the application’s execution. Consequently, it was<br />

anticipated that this virtual machine would show similar performance results to those<br />

observed for IBM’s research virtual machine.<br />

When its performance was tested for complete despecialization the overall change<br />

in performance that was observed was a loss of approximately 1.4 percent. The<br />

benchmark that was most responsible for this difference was 228 jack which showed<br />

a performance loss of over 5.0 percent when complete despecialization was performed.<br />

Summary results across all of the benchmarks for each despecialization condition<br />

considered are presented in Table 4.9. The results observed for each benchmark and<br />

despecialization condition are shown graphically in Figure 4.10.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!