< prev index next >

src/hotspot/share/runtime/vm_version.hpp

Print this page

        

@@ -56,10 +56,11 @@
   static int          _vm_security_version;
   static int          _vm_patch_version;
   static int          _vm_build_number;
   static unsigned int _parallel_worker_threads;
   static bool         _parallel_worker_threads_initialized;
+  static unsigned int _data_cache_line_flush_size;
 
   static unsigned int nof_parallel_worker_threads(unsigned int num,
                                                   unsigned int dem,
                                                   unsigned int switch_pt);
  public:

@@ -137,10 +138,16 @@
 
   static unsigned int L1_data_cache_line_size() {
     return _L1_data_cache_line_size;
   }
 
+  // the size in bytes of a data cache line flushed by a flush
+  // operation which should be a power of two
+  static unsigned int data_cache_line_flush_size() {
+    return _data_cache_line_flush_size;
+  }
+
   // ARCH specific policy for the BiasedLocking
   static bool use_biased_locking()  { return true; }
 
   // Number of page sizes efficiently supported by the hardware.  Most chips now
   // support two sizes, thus this default implementation.  Processor-specific
< prev index next >