RFR: 8261075: Create stubRoutines.inline.hpp with SafeFetch implementation

Thomas Stuefe stuefe at openjdk.java.net
Mon Feb 15 15:38:41 UTC 2021


On Mon, 15 Feb 2021 15:18:57 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:

> > I would rename the new header safefetch.hpp, just because these functions were never part of the StubRoutines namespace, and the naming is much clearer.
> 
> Good idea. It should be safefetch.inline.hpp, right?

I don't think so? To my understanding, xxx.inline.hpp is a companion file to an xxx.hpp which you create if you want to remove some of the rarely used functions from a high traffic header. Here, we just have some independent global utility functions.

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

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


More information about the hotspot-dev mailing list