7006505: Use kstat info to identify SPARC processor

Read Solaris kstat data to get more precise CPU information

Reviewed-by: iveresov, never, twisti, dholmes
This commit is contained in:
Vladimir Kozlov 2010-12-16 14:15:12 -08:00
parent b80ad03e3f
commit 9fd396ce55
8 changed files with 136 additions and 51 deletions

View file

@ -3065,7 +3065,7 @@ char* os::attempt_reserve_memory_at(size_t bytes, char* requested_addr) {
if (addr == NULL) {
jio_snprintf(buf, sizeof(buf), ": %s", strerror(err));
}
warning("attempt_reserve_memory_at: couldn't reserve %d bytes at "
warning("attempt_reserve_memory_at: couldn't reserve " SIZE_FORMAT " bytes at "
PTR_FORMAT ": reserve_memory_helper returned " PTR_FORMAT
"%s", bytes, requested_addr, addr, buf);
}