test/hotspot/jtreg/runtime/cds/appcds/CommandLineFlagCombo.java
changeset 58944 bb2a436e616c
parent 57705 7cf02b2c1455
child 59053 ba6c248cae19
equal deleted inserted replaced
58943:e940d13a2ed3 58944:bb2a436e616c
    42 import jdk.test.lib.BuildHelper;
    42 import jdk.test.lib.BuildHelper;
    43 import jdk.test.lib.Platform;
    43 import jdk.test.lib.Platform;
    44 import jdk.test.lib.process.OutputAnalyzer;
    44 import jdk.test.lib.process.OutputAnalyzer;
    45 
    45 
    46 import sun.hotspot.code.Compiler;
    46 import sun.hotspot.code.Compiler;
       
    47 import sun.hotspot.WhiteBox;
    47 
    48 
    48 public class CommandLineFlagCombo {
    49 public class CommandLineFlagCombo {
    49 
    50 
    50     // shared base address test table
    51     // shared base address test table
    51     private static final String[] testTable = {
    52     private static final String[] testTable = {
   126         {
   127         {
   127             System.out.println("Graal does not support CMS");
   128             System.out.println("Graal does not support CMS");
   128             return true;
   129             return true;
   129         }
   130         }
   130 
   131 
       
   132         if (!WhiteBox.getWhiteBox().isJFRIncludedInVmBuild() && testEntry.equals("-XX:+FlightRecorder"))
       
   133         {
       
   134             System.out.println("JFR does not exist");
       
   135             return true;
       
   136         }
       
   137 
   131         return false;
   138         return false;
   132     }
   139     }
   133 }
   140 }