RFR: 8258534: Epsilon: clean up unused includes

Aleksey Shipilev shade at openjdk.java.net
Thu Dec 17 02:09:01 UTC 2020


On Fri, 11 Dec 2020 05:03:56 GMT, Tintin <github.com+13173904+lhtin at openjdk.org> wrote:

> Hi all,
> 
> CLion IDE shows two warnings of unused includes(`#include "utilities/macros.hpp"`) in EpsilonGC's code. these maybe can be removed.
> 
> Testing: macosx-x86_64-server-{release,fastdebug,slowdebug}

Unfortunately, CLion makes the incorrect call here. `macros.hpp` is included to get access to `COMPILER1` and `COMPILER2` macros. So we cannot really remove that `#include`.

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

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



More information about the hotspot-gc-dev mailing list