RFR: JDK-8283326: Implement SafeFetch statically [v5]

Thomas Stuefe stuefe at openjdk.java.net
Wed Apr 13 09:22:48 UTC 2022


On Wed, 13 Apr 2022 07:59:01 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:

>> Thomas Stuefe has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   SafeFetch common prototypes in safefetch.hpp
>
> src/hotspot/share/runtime/safefetch.hpp line 47:
> 
>> 45: 
>> 46: 
>> 47: inline int SafeFetch32(int* adr, int errValue) {
> 
> It would be nice to preserve the old comment ("Safefetch allows to load a value from a location that's not known to be valid ...").

Thank you, Anton. I re-added the comment as you proposed.

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

PR: https://git.openjdk.java.net/jdk/pull/7865


More information about the hotspot-dev mailing list