RFR: JDK-8263495: Gather liveness info in the mark phase of G1 full gc [v3]

Thomas Schatzl tschatzl at openjdk.java.net
Tue Mar 16 08:10:09 UTC 2021


On Tue, 16 Mar 2021 01:44:57 GMT, Hamlin Li <mli at openjdk.org> wrote:

>> src/hotspot/share/gc/g1/heapRegion.hpp line 30:
>> 
>>> 28: #include "gc/g1/g1BlockOffsetTable.hpp"
>>> 29: #include "gc/g1/g1HeapRegionTraceType.hpp"
>>> 30: #include "gc/g1/g1RegionMarkStatsCache.hpp"
>> 
>> This file does not use `G1RegionMarkStatsCache`, so shouldn't need an include.
>
> Thanks for pointing out.
> it compiles successfully on my local env, let's see if it will compile in pre-submit build/test

This typically indicates that the header include is missing elsewhere. One thing that often helps is compiling with configure disabled precompiled headers, ie. `--disable-precompiled-headers` in `configure`.

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

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



More information about the hotspot-gc-dev mailing list