< prev index next >

test/hotspot/jtreg/gc/g1/TestGCLogMessages.java

Print this page
rev 57463 : imported patch 8235934-derivedpointertableupdate
rev 57464 : [mq]: 8235934-kbarrett-review

@@ -1,7 +1,7 @@
 /*
- * 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -85,11 +85,11 @@
         public LogMessageWithLevelC2OrJVMCIOnly(String message, Level level) {
             super(message, level);
         }
 
         public boolean isAvailable() {
-            return Compiler.isC2Enabled() || Compiler.isGraalEnabled();
+            return Compiler.isC2OrJVMCIIncludedInVmBuild();
         }
     }
 
     private LogMessageWithLevel allLogMessages[] = new LogMessageWithLevel[] {
         new LogMessageWithLevel("Pre Evacuate Collection Set", Level.INFO),
< prev index next >