RFR: 8339113: AccessFlags can be u2 in metadata [v2]

Coleen Phillimore coleenp at openjdk.org
Thu Dec 19 12:56:38 UTC 2024


On Thu, 19 Dec 2024 01:33:57 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Coleen Phillimore has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Update src/hotspot/cpu/ppc/templateInterpreterGenerator_ppc.cpp
>>    
>>    Co-authored-by: David Holmes <62092539+dholmes-ora at users.noreply.github.com>
>>  - Update src/hotspot/share/opto/library_call.cpp
>>    
>>    Co-authored-by: David Holmes <62092539+dholmes-ora at users.noreply.github.com>
>
> src/hotspot/cpu/ppc/interp_masm_ppc_64.cpp line 690:
> 
>> 688:     push(state);
>> 689: 
>> 690:     // Skip if we don't have to unlock. (???is this right???)
> 
> The logic seems consistent with other platforms. Not sure what you are querying.

It wasn't the logic.  When I went through I didn't know if this instruction needed fixing because we loaded an unsigned short instead of an int.  So I left myself a note to look at it again that you noticed and I didn't in my final walk through.  It seems right but maybe someone with ppc knowledge can answer this.


    rldicl_(R0, Raccess_flags, 64-JVM_ACC_SYNCHRONIZED_BIT, 63); // Extract bit and compare to 0.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/22246#discussion_r1891953704


More information about the serviceability-dev mailing list