[aarch64-port-dev ] jdk1 Fix for hotspot/test/gc/g1/TestJNIWeakG1/TestJNIWeakG1.java

Andrew Haley aph at redhat.com
Wed Aug 16 16:39:01 UTC 2017


On 16/08/17 12:34, Stuart Monteith wrote:
> There was a bug introduced by "8176100 G1 Need prebarrier on deference
> of weak JNI handles" where a rscratch1 is being passed to
> g1_write_barrier_pre where it is already using rscratch1. This causes
> the TestJNIWeakG1 testcase to SIGSEGV as the temporary register is
> being used fro two conflicting purposes.

We need an assert to make sure this doesn't happen again.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the aarch64-port-dev mailing list