< prev index next >

src/hotspot/cpu/arm/vm_version_arm_32.cpp

Print this page

        

@@ -304,23 +304,10 @@
   }
 
   _is_initialized = true;
 }
 
-bool VM_Version::use_biased_locking() {
-  get_os_cpu_info();
-  // The cost of CAS on uniprocessor ARM v6 and later is low compared to the
-  // overhead related to slightly longer Biased Locking execution path.
-  // Testing shows no improvement when running with Biased Locking enabled
-  // on an ARMv6 and higher uniprocessor systems.  The situation is different on
-  // ARMv5 and MP systems.
-  //
-  // Therefore the Biased Locking is enabled on ARMv5 and ARM MP only.
-  //
-  return (!os::is_MP() && (arm_arch() > 5)) ? false : true;
-}
-
 #define EXP
 
 // Temporary override for experimental features
 // Copied from Abstract_VM_Version
 const char* VM_Version::vm_info_string() {
< prev index next >