< prev index next >

src/hotspot/share/utilities/globalDefinitions_gcc.hpp

Print this page
*** 1,7 ***
  /*
!  * Copyright (c) 1998, 2020, 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) 1998, 2021, 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.

*** 163,6 ***
--- 163,11 ---
  
  // Alignment
  //
  #define ATTRIBUTE_ALIGNED(x) __attribute__((aligned(x)))
  
+ // TODO: Implement JavaThread::riscv64_get_thread_helper and revert this change
+ #if defined(RISCV)
+ #define USE_LIBRARY_BASED_TLS_ONLY 1
+ #endif
+ 
  #endif // SHARE_UTILITIES_GLOBALDEFINITIONS_GCC_HPP
< prev index next >