Skip to content

Commit 5d5b294

Browse files
committed
8349070: Fix riscv and ppc build errors caused by JDK-8343767
Reviewed-by: mdoerr, fyang, jwaters
1 parent 3f8a875 commit 5d5b294

File tree

7 files changed

+7
-56
lines changed

7 files changed

+7
-56
lines changed

src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
/*
22
* Copyright (c) 2003, 2025, Oracle and/or its affiliates. All rights reserved.
3-
<<<<<<< HEAD
43
* Copyright (c) 2014, 2025, Red Hat Inc. All rights reserved.
5-
=======
6-
* Copyright (c) 2014, 2024, Red Hat Inc. All rights reserved.
7-
>>>>>>> master
84
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
95
*
106
* This code is free software; you can redistribute it and/or modify it

src/hotspot/cpu/arm/stubRoutines_arm.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
/*
2-
<<<<<<< HEAD
3-
* Copyright (c) 2008, 2024, Oracle and/or its affiliates. All rights reserved.
4-
=======
52
* Copyright (c) 2008, 2025, Oracle and/or its affiliates. All rights reserved.
6-
>>>>>>> master
73
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
84
*
95
* This code is free software; you can redistribute it and/or modify it

src/hotspot/cpu/ppc/stubGenerator_ppc.cpp

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
/*
22
* Copyright (c) 1997, 2025, Oracle and/or its affiliates. All rights reserved.
3-
<<<<<<< HEAD
43
* Copyright (c) 2012, 2025 SAP SE. All rights reserved.
5-
=======
6-
* Copyright (c) 2012, 2024 SAP SE. All rights reserved.
7-
>>>>>>> master
84
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
95
*
106
* This code is free software; you can redistribute it and/or modify it
@@ -4599,21 +4595,13 @@ void generate_lookup_secondary_supers_table_stub() {
45994595
r_bitmap = R11_scratch1,
46004596
result = R8_ARG6;
46014597

4602-
<<<<<<< HEAD
46034598
for (int slot = 0; slot < Klass::SECONDARY_SUPERS_TABLE_SIZE; slot++) {
46044599
StubRoutines::_lookup_secondary_supers_table_stubs[slot] = __ pc();
4605-
__ lookup_secondary_supers_table(r_sub_klass, r_super_klass,
4606-
r_array_base, r_array_length, r_array_index,
4607-
r_bitmap, result, slot);
4600+
__ lookup_secondary_supers_table_const(r_sub_klass, r_super_klass,
4601+
r_array_base, r_array_length, r_array_index,
4602+
r_bitmap, result, slot);
46084603
__ blr();
46094604
}
4610-
=======
4611-
__ lookup_secondary_supers_table_const(r_sub_klass, r_super_klass,
4612-
r_array_base, r_array_length, r_array_index,
4613-
r_bitmap, result, super_klass_index);
4614-
__ blr();
4615-
>>>>>>> master
4616-
46174605
}
46184606

46194607
// Slow path implementation for UseSecondarySupersTable.

src/hotspot/cpu/riscv/stubGenerator_riscv.cpp

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
/*
22
* Copyright (c) 2003, 2025, Oracle and/or its affiliates. All rights reserved.
3-
<<<<<<< HEAD
43
* Copyright (c) 2014, 2025, Red Hat Inc. All rights reserved.
5-
=======
6-
* Copyright (c) 2014, 2020, Red Hat Inc. All rights reserved.
7-
>>>>>>> master
84
* Copyright (c) 2020, 2023, Huawei Technologies Co., Ltd. All rights reserved.
95
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
106
*
@@ -3034,28 +3030,16 @@ class StubGenerator: public StubCodeGenerator {
30343030
result = x15,
30353031
r_bitmap = x16;
30363032

3037-
<<<<<<< HEAD
30383033
for (int slot = 0; slot < Klass::SECONDARY_SUPERS_TABLE_SIZE; slot++) {
30393034
StubRoutines::_lookup_secondary_supers_table_stubs[slot] = __ pc();
30403035
Label L_success;
30413036
__ enter();
3042-
__ lookup_secondary_supers_table(r_sub_klass, r_super_klass, result,
3043-
r_array_base, r_array_length, r_array_index,
3044-
r_bitmap, slot, /*stub_is_near*/true);
3037+
__ lookup_secondary_supers_table_const(r_sub_klass, r_super_klass, result,
3038+
r_array_base, r_array_length, r_array_index,
3039+
r_bitmap, slot, /*stub_is_near*/true);
30453040
__ leave();
30463041
__ ret();
30473042
}
3048-
=======
3049-
Label L_success;
3050-
__ enter();
3051-
__ lookup_secondary_supers_table_const(r_sub_klass, r_super_klass, result,
3052-
r_array_base, r_array_length, r_array_index,
3053-
r_bitmap, super_klass_index, /*stub_is_near*/ true);
3054-
__ leave();
3055-
__ ret();
3056-
3057-
return start;
3058-
>>>>>>> master
30593043
}
30603044

30613045
// Slow path implementation for UseSecondarySupersTable.

src/hotspot/cpu/riscv/stubRoutines_riscv.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
/*
2-
<<<<<<< HEAD
3-
* Copyright (c) 2003, 2024, Oracle and/or its affiliates. All rights reserved.
4-
* Copyright (c) 2014, 2024, Red Hat Inc. All rights reserved.
5-
=======
62
* Copyright (c) 2003, 2025, Oracle and/or its affiliates. All rights reserved.
7-
* Copyright (c) 2014, Red Hat Inc. All rights reserved.
8-
>>>>>>> master
3+
* Copyright (c) 2014, 2025, Red Hat Inc. All rights reserved.
94
* Copyright (c) 2020, 2022, Huawei Technologies Co., Ltd. All rights reserved.
105
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
116
*

src/hotspot/cpu/s390/stubRoutines_s390.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
/*
2-
<<<<<<< HEAD
3-
* Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
4-
=======
52
* Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
6-
>>>>>>> master
73
* Copyright (c) 2016, 2023 SAP SE. All rights reserved.
84
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
95
*

src/hotspot/cpu/zero/stubRoutines_zero.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
/*
2-
<<<<<<< HEAD
3-
* Copyright (c) 2003, 2024, Oracle and/or its affiliates. All rights reserved.
4-
=======
52
* Copyright (c) 2003, 2025, Oracle and/or its affiliates. All rights reserved.
6-
>>>>>>> master
73
* Copyright 2008, 2009 Red Hat, Inc.
84
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
95
*

0 commit comments

Comments
 (0)