Message ID | 1378475667.1845.11.camel@fleetfoot.lan |
---|---|
State | Accepted |
Headers | show |
On 09/06/2013 02:54 PM, Edward Nevill wrote:
> The patch below should fix this problem.
Thanks, Ed.
Andrew.
Thanks everybody, I will check it today. Regards, Thu Cao On 07-09-2013, at 04:23, Andrew Haley <aph@redhat.com> wrote: > On 09/06/2013 02:54 PM, Edward Nevill wrote: >> The patch below should fix this problem. > > Thanks, Ed. > > Andrew.
diff -r 6cb0224e9626 -r 49648b3f8a17 src/cpu/aarch64/vm/icBuffer_aarch64.cpp --- a/src/cpu/aarch64/vm/icBuffer_aarch64.cpp Thu Sep 05 18:16:19 2013 +0100 +++ b/src/cpu/aarch64/vm/icBuffer_aarch64.cpp Fri Sep 06 14:39:51 2013 +0100 @@ -55,6 +55,8 @@ masm->b(ExternalAddress(entry_point)); masm->bind(l); masm->emit_int64((int64_t)cached_value); + // Only need to invalidate the 1st two instructions - not the whole ic stub + ICache::invalidate_range(code_begin, NativeInstruction::instruction_size * 2); 0; } --- CUT HERE ---