mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8276799: Implementation of JEP 422: Linux/RISC-V Port
Co-authored-by: Yadong Wang <yadonn.wang@huawei.com> Co-authored-by: Yanhong Zhu <zhuyanhong2@huawei.com> Co-authored-by: Feilong Jiang <jiangfeilong@huawei.com> Co-authored-by: Kun Wang <wangkun49@huawei.com> Co-authored-by: Zhuxuan Ni <nizhuxuan@huawei.com> Co-authored-by: Taiping Guo <guotaiping1@huawei.com> Co-authored-by: Kang He <hekang6@huawei.com> Co-authored-by: Aleksey Shipilev <shade@openjdk.org> Co-authored-by: Xiaolin Zheng <yunyao.zxl@alibaba-inc.com> Co-authored-by: Kuai Wei <kuaiwei.kw@alibaba-inc.com> Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org> Reviewed-by: ihse, dholmes, rriggs, kvn, shade
This commit is contained in:
parent
b05d4ccf8e
commit
5905b02c0e
188 changed files with 59087 additions and 177 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1998, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 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
|
||||
|
@ -452,7 +452,7 @@ void ObjectSynchronizer::handle_sync_on_value_based_class(Handle obj, JavaThread
|
|||
}
|
||||
|
||||
static bool useHeavyMonitors() {
|
||||
#if defined(X86) || defined(AARCH64) || defined(PPC64)
|
||||
#if defined(X86) || defined(AARCH64) || defined(PPC64) || defined(RISCV64)
|
||||
return UseHeavyMonitors;
|
||||
#else
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue