15 *
16 * You should have received a copy of the GNU General Public License version
17 * 2 along with this work; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 * or visit www.oracle.com if you need additional information or have any
22 * questions.
23 *
24 */
25
26 #include "precompiled.hpp"
27 #include "jvm.h"
28 #include "asm/assembler.inline.hpp"
29 #include "asm/macroAssembler.inline.hpp"
30 #include "compiler/disassembler.hpp"
31 #include "memory/resourceArea.hpp"
32 #include "runtime/java.hpp"
33 #include "runtime/os.hpp"
34 #include "runtime/stubCodeGenerator.hpp"
35 #include "utilities/align.hpp"
36 #include "utilities/defaultStream.hpp"
37 #include "utilities/globalDefinitions.hpp"
38 #include "vm_version_ppc.hpp"
39
40 #include <sys/sysinfo.h>
41 #if defined(_AIX)
42 #include <libperfstat.h>
43 #endif
44
45 #if defined(LINUX) && defined(VM_LITTLE_ENDIAN)
46 #include <sys/auxv.h>
47
48 #ifndef PPC_FEATURE2_HTM_NOSC
49 #define PPC_FEATURE2_HTM_NOSC (1 << 24)
50 #endif
51 #endif
52
53 bool VM_Version::_is_determine_features_test_running = false;
54 uint64_t VM_Version::_dscr_val = 0;
55
56 #define MSG(flag) \
57 if (flag && !FLAG_IS_DEFAULT(flag)) \
58 jio_fprintf(defaultStream::error_stream(), \
|
15 *
16 * You should have received a copy of the GNU General Public License version
17 * 2 along with this work; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 * or visit www.oracle.com if you need additional information or have any
22 * questions.
23 *
24 */
25
26 #include "precompiled.hpp"
27 #include "jvm.h"
28 #include "asm/assembler.inline.hpp"
29 #include "asm/macroAssembler.inline.hpp"
30 #include "compiler/disassembler.hpp"
31 #include "memory/resourceArea.hpp"
32 #include "runtime/java.hpp"
33 #include "runtime/os.hpp"
34 #include "runtime/stubCodeGenerator.hpp"
35 #include "runtime/vm_version.hpp"
36 #include "utilities/align.hpp"
37 #include "utilities/defaultStream.hpp"
38 #include "utilities/globalDefinitions.hpp"
39
40 #include <sys/sysinfo.h>
41 #if defined(_AIX)
42 #include <libperfstat.h>
43 #endif
44
45 #if defined(LINUX) && defined(VM_LITTLE_ENDIAN)
46 #include <sys/auxv.h>
47
48 #ifndef PPC_FEATURE2_HTM_NOSC
49 #define PPC_FEATURE2_HTM_NOSC (1 << 24)
50 #endif
51 #endif
52
53 bool VM_Version::_is_determine_features_test_running = false;
54 uint64_t VM_Version::_dscr_val = 0;
55
56 #define MSG(flag) \
57 if (flag && !FLAG_IS_DEFAULT(flag)) \
58 jio_fprintf(defaultStream::error_stream(), \
|