RFR: 8261075: Create stubRoutines.inline.hpp with SafeFetch implementation [v2]
Anton Kozlov
akozlov at openjdk.java.net
Tue Feb 16 16:06:38 UTC 2021
On Mon, 15 Feb 2021 19:53:48 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:
> It doesn't matter if there exists a .hpp file or not. However, what's non-trivial becomes a judgment call. I tend to use rule that if it uses code from another header, then it's non-trivial, and should most likely be moved out of the .hpp file.
I suppose this file to be on the edge between trivial and not. Later, it will have a W^X transition and will include thread.hpp, I don't want to rename it again. @stefank, what do you think, should it be safefetch.inline.hpp? Or are you fine with safefetch.hpp?
-------------
PR: https://git.openjdk.java.net/jdk/pull/2542
More information about the hotspot-dev
mailing list