equal
deleted
inserted
replaced
69 map.put("vm.emulatedClient", vmEmulatedClient()); |
69 map.put("vm.emulatedClient", vmEmulatedClient()); |
70 map.put("vm.cpu.features", cpuFeatures()); |
70 map.put("vm.cpu.features", cpuFeatures()); |
71 map.put("vm.rtm.cpu", vmRTMCPU()); |
71 map.put("vm.rtm.cpu", vmRTMCPU()); |
72 map.put("vm.rtm.os", vmRTMOS()); |
72 map.put("vm.rtm.os", vmRTMOS()); |
73 map.put("vm.aot", vmAOT()); |
73 map.put("vm.aot", vmAOT()); |
|
74 // vm.cds is true if the VM is compiled with cds support. |
|
75 map.put("vm.cds", vmCDS()); |
74 vmGC(map); // vm.gc.X = true/false |
76 vmGC(map); // vm.gc.X = true/false |
75 |
77 |
76 VMProps.dump(map); |
78 VMProps.dump(map); |
77 return map; |
79 return map; |
78 } |
80 } |
276 } |
278 } |
277 return "" + Files.exists(jaotc); |
279 return "" + Files.exists(jaotc); |
278 } |
280 } |
279 |
281 |
280 /** |
282 /** |
|
283 * Check for CDS support. |
|
284 * |
|
285 * @return true if CDS is supported by the VM to be tested. |
|
286 */ |
|
287 protected String vmCDS() { |
|
288 if (WB.isCDSIncludedInVmBuild()) { |
|
289 return "true"; |
|
290 } else { |
|
291 return "false"; |
|
292 } |
|
293 } |
|
294 |
|
295 /** |
281 * Dumps the map to the file if the file name is given as the property. |
296 * Dumps the map to the file if the file name is given as the property. |
282 * This functionality could be helpful to know context in the real |
297 * This functionality could be helpful to know context in the real |
283 * execution. |
298 * execution. |
284 * |
299 * |
285 * @param map |
300 * @param map |