Mercurial > hg > graal-jvmci-8
comparison src/cpu/sparc/vm/vm_version_sparc.hpp @ 6797:3a327d0b8586
7188176: The JVM should differentiate between T and M series and adjust GC ergonomics
Reviewed-by: kvn
Contributed-by: Tao Mao <tao.mao@oracle.com>
author | twisti |
---|---|
date | Mon, 24 Sep 2012 11:07:03 -0700 |
parents | 8cb110fd7627 |
children | 46c544b8fbfc |
comparison
equal
deleted
inserted
replaced
6795:7eca5de9e0b6 | 6797:3a327d0b8586 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
122 { return has_v9(); } | 122 { return has_v9(); } |
123 | 123 |
124 // Returns true if the platform is in the niagara line (T series) | 124 // Returns true if the platform is in the niagara line (T series) |
125 // and newer than the niagara1. | 125 // and newer than the niagara1. |
126 static bool is_niagara_plus() { return is_T_family(_features) && !is_T1_model(_features); } | 126 static bool is_niagara_plus() { return is_T_family(_features) && !is_T1_model(_features); } |
127 | |
128 static bool is_M_series() { return is_M_family(_features); } | |
127 static bool is_T4() { return is_T_family(_features) && has_cbcond(); } | 129 static bool is_T4() { return is_T_family(_features) && has_cbcond(); } |
128 | 130 |
129 // Fujitsu SPARC64 | 131 // Fujitsu SPARC64 |
130 static bool is_sparc64() { return (_features & sparc64_family_m) != 0; } | 132 static bool is_sparc64() { return (_features & sparc64_family_m) != 0; } |
131 | 133 |