RFR: 8199264: Remove universe.inline.hpp to simplify include dependencies (original) (raw)
harold seigel harold.seigel at oracle.com
Wed Mar 7 22:04:13 UTC 2018
- Previous message: RFR: 8199264: Remove universe.inline.hpp to simplify include dependencies
- Next message: RFR: 8199264: Remove universe.inline.hpp to simplify include dependencies
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Stefan,
This looks good. Thanks for doing it.
Harold
On 3/7/2018 4:59 PM, Stefan Karlsson wrote:
Hi all,
Please review this patch to remove universe.inline.hpp. http://cr.openjdk.java.net/~stefank/8199264/webrev.01/ https://bugs.openjdk.java.net/browse/JDK-8199264 The main motivation for this patch is to lower the number of .inline.hpp files included from .hpp files. My initial though was to just move the two trivial functions from the universe.inline.hpp into universe.hpp, and get rid of universe.inline.hpp. However, fieldtypeshouldbealigned evaluates to true at the single location it is used, and elementtypeshouldbealigned is only used in arrayOop.hpp, so it was moved there instead. There are a number of places that used to include universe.inline.hpp that now include universe.hpp. I left them all by purpose, to minimize the potential for build breakages. Even removing the universe.hpp include in arrayOop.hpp breaks the build, so I'd like to defer that cleaning to another patch. Thanks, StefanK
- Previous message: RFR: 8199264: Remove universe.inline.hpp to simplify include dependencies
- Next message: RFR: 8199264: Remove universe.inline.hpp to simplify include dependencies
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]