[aarch64-port-dev ] hg: aarch64-port/jdk8/hotspot: 2 new changesets

adinn at redhat.com adinn at redhat.com
Fri Sep 27 04:35:22 PDT 2013


Changeset: f56ae2c42b1c
Author:    adinn
Date:      2013-09-24 18:06 +0100
URL:       http://hg.openjdk.java.net/aarch64-port/jdk8/hotspot/rev/f56ae2c42b1c

make C2 runtime calls to generated code branch using bl rather than blrt

! src/cpu/aarch64/vm/aarch64.ad

Changeset: 9719d9a2649a
Author:    adinn
Date:      2013-09-27 12:34 +0100
URL:       http://hg.openjdk.java.net/aarch64-port/jdk8/hotspot/rev/9719d9a2649a

added testP/N to compare against object NULL directly against zr

these rules match the case where a pointer is being compared to the
special constant NULL. they avoid unnecessary loadConP0/N0 to supply
the CmpP/N node with a null value in a register, instead upplying zr
as a direct argument to the compare.

this change is not just to achieve a performance improvement. it also
bypasses a problem where the loadConP0/N0 node becomes dead but does
not get removed by the dead node deletion algorithm. this problem
manifested after pulling in recent changes to the loopopt code
(between b81 and b85). it occurs during bootstrap in the presence of
complex inlining into java.lang.ClassLoader.getSystemClassLoader() and
so is hard to pin down. so I think we may see this again.

! src/cpu/aarch64/vm/aarch64.ad




More information about the aarch64-port-dev mailing list