< prev index next >

src/hotspot/cpu/x86/vm_version_x86.hpp

Print this page
*** 1,7 ***
  /*
!  * Copyright (c) 1997, 2022, 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
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.
--- 1,7 ---
  /*
!  * Copyright (c) 1997, 2024, 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
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

*** 1008,10 ***
--- 1008,14 ---
      return LP64_ONLY(true) NOT_LP64(false); // not implemented on x86_32
    }
  
    constexpr static bool supports_stack_watermark_barrier() {
      return true;
+   }
+ 
+   constexpr static bool supports_recursive_lightweight_locking() {
+     return true;
    }
  
    // there are several insns to force cache line sync to memory which
    // we can use to ensure mapped non-volatile memory is up to date with
    // pending in-cache changes.
< prev index next >