Mercurial > hg > graal-jvmci-8
comparison src/os/solaris/vm/os_solaris.cpp @ 2080:c04052fd6ae1
7006505: Use kstat info to identify SPARC processor
Summary: read Solaris kstat data to get more precise CPU information
Reviewed-by: iveresov, never, twisti, dholmes
author | kvn |
---|---|
date | Thu, 16 Dec 2010 14:15:12 -0800 |
parents | 828eafbd85cc |
children | 5a1e52a439fa |
comparison
equal
deleted
inserted
replaced
2079:cccd1b172b85 | 2080:c04052fd6ae1 |
---|---|
3063 char buf[256]; | 3063 char buf[256]; |
3064 buf[0] = '\0'; | 3064 buf[0] = '\0'; |
3065 if (addr == NULL) { | 3065 if (addr == NULL) { |
3066 jio_snprintf(buf, sizeof(buf), ": %s", strerror(err)); | 3066 jio_snprintf(buf, sizeof(buf), ": %s", strerror(err)); |
3067 } | 3067 } |
3068 warning("attempt_reserve_memory_at: couldn't reserve %d bytes at " | 3068 warning("attempt_reserve_memory_at: couldn't reserve " SIZE_FORMAT " bytes at " |
3069 PTR_FORMAT ": reserve_memory_helper returned " PTR_FORMAT | 3069 PTR_FORMAT ": reserve_memory_helper returned " PTR_FORMAT |
3070 "%s", bytes, requested_addr, addr, buf); | 3070 "%s", bytes, requested_addr, addr, buf); |
3071 } | 3071 } |
3072 | 3072 |
3073 // Address hint method didn't work. Fall back to the old method. | 3073 // Address hint method didn't work. Fall back to the old method. |