[RFR] [8u] 8251120: HotSpot build assumes ENABLE_JFR is set to either true or false

Andrew Hughes gnu.andrew at redhat.com
Sat Aug 22 02:36:28 UTC 2020


Bug: https://bugs.openjdk.java.net/browse/JDK-8251120
Webrev: https://cr.openjdk.java.net/~andrew/openjdk8/8251120/webrev.01/

The HotSpot build on *nix systems currently assumes that ENABLE_JFR is
set to either true or false. This is the case when the HotSpot build
is invoked via the configure build system, but not otherwise, as
nothing in the Makefiles actually sets it.

A simple fix is to invert the tests for false, so only true is checked
for, and false and undefined are assumed to be the same. Windows
already only checks for true, so no changes are needed there.

Ok for 8u?

Thanks,
-- 
Andrew :)

Senior Free Java Software Engineer
OpenJDK Package Owner
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222


More information about the jdk8u-dev mailing list