RFR (S) 8202705: ARM32 build crashes on long JavaThread offsets

Aleksey Shipilev shade at redhat.com
Mon Jun 4 13:22:39 UTC 2018


On 06/04/2018 03:18 PM, Boris Ulasevich wrote:
> Let us just leave comments and work with Ralloc:
> 
>   // Borrow the Rthread for alloc counter
>   Register Ralloc = Rthread;
>   add(Ralloc, Ralloc, in_bytes(JavaThread::allocated_bytes_offset()));
> 
>   ... (work with Ralloc)
> 
>   // Unborrow the Rthread
>   sub(Rthread, Ralloc, in_bytes(JavaThread::allocated_bytes_offset()));
> 
> Webrev:
>   http://cr.openjdk.java.net/~bulasevich/8202705/webrev.02/

Looks better, thanks!

-Aleksey


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20180604/7f2bf994/signature.asc>


More information about the hotspot-gc-dev mailing list