Please review this patch that fixes build failures when excluding JFR (configure build with --with-jvm-features=-jfr) Bug: https://bugs.openjdk.java.net/browse/JDK-8217342 Webrev: http://cr.openjdk.java.net/~zgu/JDK-8217342/webrev.00/index.html Test: PCH and none PCH builds with/without JFR on Linux x64 (fastdebug and release) Thanks, -Zhengyu