--- old/test/hotspot/jtreg/gc/g1/TestGCLogMessages.java 2020-01-07 11:38:57.221975482 +0100 +++ new/test/hotspot/jtreg/gc/g1/TestGCLogMessages.java 2020-01-07 11:38:56.844963563 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -87,7 +87,7 @@ } public boolean isAvailable() { - return Compiler.isC2Enabled() || Compiler.isGraalEnabled(); + return Compiler.isC2OrJVMCIIncludedInVmBuild(); } }