equal
deleted
inserted
replaced
27 #include "asm/assembler.inline.hpp" |
27 #include "asm/assembler.inline.hpp" |
28 #include "asm/macroAssembler.inline.hpp" |
28 #include "asm/macroAssembler.inline.hpp" |
29 #include "compiler/disassembler.hpp" |
29 #include "compiler/disassembler.hpp" |
30 #include "memory/resourceArea.hpp" |
30 #include "memory/resourceArea.hpp" |
31 #include "runtime/java.hpp" |
31 #include "runtime/java.hpp" |
|
32 #include "runtime/os.hpp" |
32 #include "runtime/stubCodeGenerator.hpp" |
33 #include "runtime/stubCodeGenerator.hpp" |
33 #include "utilities/defaultStream.hpp" |
34 #include "utilities/defaultStream.hpp" |
34 #include "vm_version_ppc.hpp" |
35 #include "vm_version_ppc.hpp" |
35 |
36 |
36 # include <sys/sysinfo.h> |
37 # include <sys/sysinfo.h> |
106 (has_popcntw() ? " popcntw" : ""), |
107 (has_popcntw() ? " popcntw" : ""), |
107 (has_fcfids() ? " fcfids" : ""), |
108 (has_fcfids() ? " fcfids" : ""), |
108 (has_vand() ? " vand" : "") |
109 (has_vand() ? " vand" : "") |
109 // Make sure number of %s matches num_features! |
110 // Make sure number of %s matches num_features! |
110 ); |
111 ); |
111 _features_str = strdup(buf); |
112 _features_str = os::strdup(buf); |
112 NOT_PRODUCT(if (Verbose) print_features();); |
113 NOT_PRODUCT(if (Verbose) print_features();); |
113 |
114 |
114 // PPC64 supports 8-byte compare-exchange operations (see |
115 // PPC64 supports 8-byte compare-exchange operations (see |
115 // Atomic::cmpxchg and StubGenerator::generate_atomic_cmpxchg_ptr) |
116 // Atomic::cmpxchg and StubGenerator::generate_atomic_cmpxchg_ptr) |
116 // and 'atomic long memory ops' (see Unsafe_GetLongVolatile). |
117 // and 'atomic long memory ops' (see Unsafe_GetLongVolatile). |