test/jtreg-ext/requires/VMProps.java
changeset 51214 67736b4846a0
parent 50914 07498f5b6a96
child 51251 0a7a0a6dfa22
equal deleted inserted replaced
51213:24c4780f69a5 51214:67736b4846a0
    77         // and jhsdb.
    77         // and jhsdb.
    78         map.put("vm.hasSA", vmHasSA());
    78         map.put("vm.hasSA", vmHasSA());
    79         // vm.hasSAandCanAttach is "true" if the VM contains the serviceability agent
    79         // vm.hasSAandCanAttach is "true" if the VM contains the serviceability agent
    80         // and jhsdb and it can attach to the VM.
    80         // and jhsdb and it can attach to the VM.
    81         map.put("vm.hasSAandCanAttach", vmHasSAandCanAttach());
    81         map.put("vm.hasSAandCanAttach", vmHasSAandCanAttach());
       
    82         // vm.hasJFR is "true" if JFR is included in the build of the VM and
       
    83         // so tests can be executed.
       
    84         map.put("vm.hasJFR", vmHasJFR());
    82         map.put("vm.cpu.features", cpuFeatures());
    85         map.put("vm.cpu.features", cpuFeatures());
    83         map.put("vm.rtm.cpu", vmRTMCPU());
    86         map.put("vm.rtm.cpu", vmRTMCPU());
    84         map.put("vm.rtm.os", vmRTMOS());
    87         map.put("vm.rtm.os", vmRTMOS());
    85         map.put("vm.aot", vmAOT());
    88         map.put("vm.aot", vmAOT());
    86         // vm.cds is true if the VM is compiled with cds support.
    89         // vm.cds is true if the VM is compiled with cds support.
   286             return "true";
   289             return "true";
   287         }
   290         }
   288     }
   291     }
   289 
   292 
   290     /**
   293     /**
       
   294      * @return "true" if the VM is compiled with Java Flight Recorder (JFR)
       
   295      * support.
       
   296      */
       
   297     protected String vmHasJFR() {
       
   298         return "" + WB.isJFRIncludedInVmBuild();
       
   299     }
       
   300 
       
   301     /**
   291      * @return true if VM runs RTM supported OS and false otherwise.
   302      * @return true if VM runs RTM supported OS and false otherwise.
   292      */
   303      */
   293     protected String vmRTMOS() {
   304     protected String vmRTMOS() {
   294         boolean isRTMOS = true;
   305         boolean isRTMOS = true;
   295 
   306