[aarch64-port-dev ] Fix on aarch required after 8073165: Contended Locking fast exit bucket.
Lindenmaier, Goetz
goetz.lindenmaier at sap.com
Wed Jun 24 06:48:22 UTC 2015
Hi Ed,
thanks for testing this.
I'll prepare an official RFR including these changes.
Best regards,
Goetz.
-----Original Message-----
From: Edward Nevill [mailto:edward.nevill at linaro.org]
Sent: Dienstag, 23. Juni 2015 17:31
To: Lindenmaier, Goetz
Cc: aarch64-port-dev at openjdk.java.net
Subject: Re: [aarch64-port-dev ] Fix on aarch required after 8073165: Contended Locking fast exit bucket.
On Tue, 2015-06-23 at 07:00 +0000, Lindenmaier, Goetz wrote:
> Hi,
>
> I think you need the fix below after the change in 8073165.
> http://hg.openjdk.java.net/jdk9/dev/hotspot/rev/2abcd8a4896c
> If you verify this, I will submit it along with the ppc fix.
>
> Best regards,
> Goetz.
Hi,
This change looks fine. I have merged in the patch, built it on aarch64 and run jtreg/hotspot on the result. The result before and after was
Test results: passed: 856; failed: 4; error: 6
Thanks for doing this,
Ed.
>
> diff -r 5b5db3d68ab9 src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp
> --- a/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp Mon Jun 22 17:15:45 2015 +0200
> +++ b/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp Tue Jun 23 08:54:15 2015 +0200
> @@ -2120,6 +2120,7 @@
> save_native_result(masm, ret_type, stack_slots);
> }
>
> + __ mov(c_rarg2, rthread);
> __ lea(c_rarg1, Address(sp, lock_slot_offset * VMRegImpl::stack_slot_size));
> __ mov(c_rarg0, obj_reg);
>
> @@ -2128,7 +2129,7 @@
> __ ldr(r19, Address(rthread, in_bytes(Thread::pending_exception_offset())));
> __ str(zr, Address(rthread, in_bytes(Thread::pending_exception_offset())));
>
> - rt_call(masm, CAST_FROM_FN_PTR(address, SharedRuntime::complete_monitor_unlocking_C), 2, 0, 1);
> + rt_call(masm, CAST_FROM_FN_PTR(address, SharedRuntime::complete_monitor_unlocking_C), 3, 0, 1);
>
> #ifdef ASSERT
> {
More information about the aarch64-port-dev
mailing list