29 #include "compiler/disassembler.hpp" |
29 #include "compiler/disassembler.hpp" |
30 #include "code/compiledIC.hpp" |
30 #include "code/compiledIC.hpp" |
31 #include "memory/resourceArea.hpp" |
31 #include "memory/resourceArea.hpp" |
32 #include "runtime/java.hpp" |
32 #include "runtime/java.hpp" |
33 #include "runtime/stubCodeGenerator.hpp" |
33 #include "runtime/stubCodeGenerator.hpp" |
34 #include "vm_version_s390.hpp" |
34 #include "runtime/vm_version.hpp" |
35 |
35 |
36 # include <sys/sysinfo.h> |
36 # include <sys/sysinfo.h> |
37 |
37 |
38 bool VM_Version::_is_determine_features_test_running = false; |
38 bool VM_Version::_is_determine_features_test_running = false; |
39 const char* VM_Version::_model_string; |
39 const char* VM_Version::_model_string; |
42 unsigned long VM_Version::_cipher_features[_features_buffer_len] = {0, 0, 0, 0}; |
42 unsigned long VM_Version::_cipher_features[_features_buffer_len] = {0, 0, 0, 0}; |
43 unsigned long VM_Version::_msgdigest_features[_features_buffer_len] = {0, 0, 0, 0}; |
43 unsigned long VM_Version::_msgdigest_features[_features_buffer_len] = {0, 0, 0, 0}; |
44 unsigned int VM_Version::_nfeatures = 0; |
44 unsigned int VM_Version::_nfeatures = 0; |
45 unsigned int VM_Version::_ncipher_features = 0; |
45 unsigned int VM_Version::_ncipher_features = 0; |
46 unsigned int VM_Version::_nmsgdigest_features = 0; |
46 unsigned int VM_Version::_nmsgdigest_features = 0; |
47 unsigned int VM_Version::_Dcache_lineSize = 256; |
47 unsigned int VM_Version::_Dcache_lineSize = DEFAULT_CACHE_LINE_SIZE; |
48 unsigned int VM_Version::_Icache_lineSize = 256; |
48 unsigned int VM_Version::_Icache_lineSize = DEFAULT_CACHE_LINE_SIZE; |
49 |
49 |
50 static const char* z_gen[] = {" ", "G1", "G2", "G3", "G4", "G5", "G6", "G7" }; |
50 static const char* z_gen[] = {" ", "G1", "G2", "G3", "G4", "G5", "G6", "G7" }; |
51 static const char* z_machine[] = {" ", "2064", "2084", "2094", "2097", "2817", " ", "2964" }; |
51 static const char* z_machine[] = {" ", "2064", "2084", "2094", "2097", "2817", " ", "2964" }; |
52 static const char* z_name[] = {" ", "z900", "z990", "z9 EC", "z10 EC", "z196 EC", "ec12", "z13" }; |
52 static const char* z_name[] = {" ", "z900", "z990", "z9 EC", "z10 EC", "z196 EC", "ec12", "z13" }; |
53 |
53 |