RFR: JDK-8220344: Build failures when using --with-jvm-features=-g1gc, -jfr

Ao Qi aoqi at loongson.cn
Fri Mar 8 11:09:53 UTC 2019


Hi,

I found build is broken when configure with
--with-jvm-features=-g1gc,-jfr.  There are two problems:

1. g1BarrierSet.hpp is included when g1 is disabled. I think this
include can be removed.
2. cardTable.hpp is included in g1CardTable.hpp, and when ifndef
INCLUDE_G1GC, cardTable.hpp is missed.

Bug:
https://bugs.openjdk.java.net/browse/JDK-8220344

Webrev:
http://cr.openjdk.java.net/~aoqi/8220344/webrev.00/

Tested:
build test: linux-x86_64-{server, minimal, zero}-{fastdebug, release},
linux-x86_64-{server, minimal, zero}-{fastdebug, release}(configure
with -g1gc,-jfr)?
jtreg: linux-x86_64-server-release hotspot:tier1

Thanks,
Ao Qi


More information about the hotspot-dev mailing list