RFR(M): 8228743: [PPC64, s390] Implement FastJNIAccessors

Doerr, Martin martin.doerr at sap.com
Tue Jul 30 16:03:48 UTC 2019


Hi Götz and Lutz,

thank you for the reviews.

> Maybe a comment would be helpful at the call sites that
> JNI_FastGetField::find_slowcase_pc(pc) not only finds the slowcase_pc, but
> also decides if the signal at hand is related to a FastGetField access.
I think it'd be a little helpful, but not too hard to find out.
I prefer to keep the comment and implementation in the signal handler an exact copy from the other platforms.

Best regards,
Martin


> -----Original Message-----
> From: Schmidt, Lutz
> Sent: Dienstag, 30. Juli 2019 17:46
> To: Lindenmaier, Goetz <goetz.lindenmaier at sap.com>; Doerr, Martin
> <martin.doerr at sap.com>; hotspot-runtime-dev at openjdk.java.net;
> Gustavo Romero <gromero at linux.vnet.ibm.com>
> Subject: Re: RFR(M): 8228743: [PPC64, s390] Implement FastJNIAccessors
> 
> Hi Martin,
> 
> your change looks good to me. Please note that I'm NOT a Reviewer.
> 
> Maybe a comment would be helpful at the call sites that
> JNI_FastGetField::find_slowcase_pc(pc) not only finds the slowcase_pc, but
> also decides if the signal at hand is related to a FastGetField access.
> 
> Thanks,
> Lutz
> 
> On 30.07.19, 14:29, "Lindenmaier, Goetz" <goetz.lindenmaier at sap.com>
> wrote:
> 
>     Hi Martin,
> 
>     overall, the change looks good to me.
> 
>     It's a bit confusing that the method with the
>     implementation has _int_ as infix:
>     generate_fast_get_int_field0
>     while it is used for all data types,
>     but this is similar on other platforms.
> 
>     // order preceding load
>     You might want to capitalize this, like the other comments.
>     No webrev needed.
> 
>     Best regards,
>       Goetz.
> 
> 
> 
>     > -----Original Message-----
>     > From: Doerr, Martin
>     > Sent: Montag, 29. Juli 2019 19:43
>     > To: hotspot-runtime-dev at openjdk.java.net; Lindenmaier, Goetz
>     > <goetz.lindenmaier at sap.com>; Schmidt, Lutz <lutz.schmidt at sap.com>;
>     > Gustavo Romero <gromero at linux.vnet.ibm.com>
>     > Subject: RFR(M): 8228743: [PPC64, s390] Implement FastJNIAccessors
>     >
>     > Hi,
>     >
>     >
>     >
>     > I’d like to contribute fast JNI Get*Field platform implementations for
> PPC64
>     > and s390.
>     >
>     >
>     >
>     > Please review:
>     >
>     >
> http://cr.openjdk.java.net/~mdoerr/8228743_PPC64_s390_FastJNIAccessors
> /
>     > webrev.00/
>     >
> <http://cr.openjdk.java.net/~mdoerr/8228743_PPC64_s390_FastJNIAccesso
> rs
>     > /webrev.00/>
>     >
>     >
>     >
>     > Best regards,
>     >
>     > Martin
>     >
>     >
> 
> 



More information about the hotspot-runtime-dev mailing list