< prev index next >
src/hotspot/cpu/ppc/vm_version_ppc.cpp
Print this page
*** 379,409 ****
if (FLAG_IS_DEFAULT(UseUnalignedAccesses)) {
FLAG_SET_DEFAULT(UseUnalignedAccesses, true);
}
}
- void VM_Version::print_platform_virtualization_info(outputStream* st) {
- const char* info_file = "/proc/ppc64/lparcfg";
- const char* kw[] = { "system_type=", // qemu indicates PowerKVM
- "partition_entitled_capacity=", // entitled processor capacity percentage
- "partition_max_entitled_capacity=",
- "capacity_weight=", // partition CPU weight
- "partition_active_processors=",
- "partition_potential_processors=",
- "entitled_proc_capacity_available=",
- "capped=", // 0 - uncapped, 1 - vcpus capped at entitled processor capacity percentage
- "shared_processor_mode=", // (non)dedicated partition
- "system_potential_processors=",
- "pool=", // CPU-pool number
- "pool_capacity=",
- "NumLpars=", // on non-KVM machines, NumLpars is not found for full partition mode machines
- NULL };
- if (!print_matching_lines_from_file(info_file, st, kw)) {
- st->print_cr(" <%s Not Available>", info_file);
- }
- }
-
bool VM_Version::use_biased_locking() {
#if INCLUDE_RTM_OPT
// RTM locking is most useful when there is high lock contention and
// low data contention. With high lock contention the lock is usually
// inflated and biased locking is not suitable for that case.
--- 379,388 ----
< prev index next >