src/hotspot/cpu/x86/vm_version_x86.hpp
changeset 55105 9ad765641e8f
parent 54519 a2795025f417
child 57804 9b7b9f16dfd9
--- a/src/hotspot/cpu/x86/vm_version_x86.hpp	Thu May 30 11:42:53 2019 +0200
+++ b/src/hotspot/cpu/x86/vm_version_x86.hpp	Thu May 30 13:39:13 2019 +0300
@@ -936,6 +936,11 @@
   // the intrinsic for java.lang.Thread.onSpinWait()
   static bool supports_on_spin_wait() { return supports_sse2(); }
 
+  // x86_64 supports fast class initialization checks for static methods.
+  static bool supports_fast_class_init_checks() {
+    return LP64_ONLY(true) NOT_LP64(false); // not implemented on x86_32
+  }
+
   // support functions for virtualization detection
  private:
   static void check_virt_cpuid(uint32_t idx, uint32_t *regs);