Mercurial > hg > truffle
comparison src/share/vm/runtime/vm_version.hpp @ 12873:4e7f99b70d9d
Merge
author | adlertz |
---|---|
date | Wed, 09 Oct 2013 05:03:34 -0700 |
parents | 586fa1919a89 |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
12872:98692a2d36d7 | 12873:4e7f99b70d9d |
---|---|
76 // Internal version providing additional build information | 76 // Internal version providing additional build information |
77 static const char* internal_vm_info_string(); | 77 static const char* internal_vm_info_string(); |
78 static const char* jre_release_version(); | 78 static const char* jre_release_version(); |
79 | 79 |
80 // does HW support an 8-byte compare-exchange operation? | 80 // does HW support an 8-byte compare-exchange operation? |
81 static bool supports_cx8() {return _supports_cx8;} | 81 static bool supports_cx8() { |
82 #ifdef SUPPORTS_NATIVE_CX8 | |
83 return true; | |
84 #else | |
85 return _supports_cx8; | |
86 #endif | |
87 } | |
82 // does HW support atomic get-and-set or atomic get-and-add? Used | 88 // does HW support atomic get-and-set or atomic get-and-add? Used |
83 // to guide intrinsification decisions for Unsafe atomic ops | 89 // to guide intrinsification decisions for Unsafe atomic ops |
84 static bool supports_atomic_getset4() {return _supports_atomic_getset4;} | 90 static bool supports_atomic_getset4() {return _supports_atomic_getset4;} |
85 static bool supports_atomic_getset8() {return _supports_atomic_getset8;} | 91 static bool supports_atomic_getset8() {return _supports_atomic_getset8;} |
86 static bool supports_atomic_getadd4() {return _supports_atomic_getadd4;} | 92 static bool supports_atomic_getadd4() {return _supports_atomic_getadd4;} |