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.

59<br />

Specialized<br />

Bytecode<br />

load <br />

store <br />

dconst <br />

fconst <br />

lconst <br />

iconst <br />

if<br />

if icmplt<br />

if icmple<br />

bipush<br />

sipush<br />

ldc<br />

goto<br />

jsr<br />

if icmpeq<br />

if acmpeq<br />

ifnull<br />

i2c<br />

i2b<br />

i2s<br />

tableswitch<br />

iinc<br />

anewarray<br />

General Purpose<br />

Bytecode<br />

load<br />

store<br />

ldc2 w<br />

ldc / ldc w<br />

ldc2 w<br />

ldc / ldc w<br />

iconst 0 if icmp<br />

swap if icmpgt<br />

swap if icmpge<br />

sipush<br />

ldc / ldc w<br />

ldc w<br />

goto w<br />

jsr w<br />

if icmpne goto<br />

if acmpne goto<br />

ifnonnull goto<br />

ldc w iand<br />

ishl ishr<br />

ishl ishr<br />

lookupswitch<br />

iload ldc w iadd istore<br />

multianewarray<br />

Table 4.5: All Specialized Bytecodes and their General Forms<br />

4.2 Despecialization Performance<br />

The initial phase of despecialization performance testing examined the execution of<br />

seven benchmarks on three virtual machines. The configuration of the test environment<br />

and details of the benchmarks tested are located in Sections 4.2.1 and 4.2.2<br />

respectively. Sections 4.2.3, 4.2.4 and 4.2.5 report the observed change in benchmark<br />

performance for the Kaffe, IBM and Sun virtual machines respectively.<br />

4.2.1 Test Environment<br />

Performance testing was conducted using three different virtual machines. Each virtual<br />

machine was used to test a total of 10 conditions. The first condition used each<br />

benchmark in its original, unmodified form, allowing a baseline execution time to<br />

be established. Nine additional conditions were tested that perform different com-

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

Saved successfully!

Ooh no, something went wrong!