diff 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
line wrap: on
line diff
--- a/src/cpu/sparc/vm/vm_version_sparc.hpp	Thu Sep 20 16:49:17 2012 +0200
+++ b/src/cpu/sparc/vm/vm_version_sparc.hpp	Mon Sep 24 11:07:03 2012 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -124,6 +124,8 @@
   // Returns true if the platform is in the niagara line (T series)
   // and newer than the niagara1.
   static bool is_niagara_plus()         { return is_T_family(_features) && !is_T1_model(_features); }
+
+  static bool is_M_series()             { return is_M_family(_features); }
   static bool is_T4()                   { return is_T_family(_features) && has_cbcond(); }
 
   // Fujitsu SPARC64