-
Couldn't load subscription status.
- Fork 6
AdoptOpenJDK 17 Support #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
daba177
214c530
aacfecf
482f627
9b5303c
7f2df68
abc5f07
5f0b73d
4fb06e5
bfe4144
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| diff --git a/make/autoconf/hotspot.m4 b/make/autoconf/hotspot.m4 | ||
| index 43653c115..4c5f960a8 100644 | ||
| --- a/make/autoconf/hotspot.m4 | ||
| +++ b/make/autoconf/hotspot.m4 | ||
| @@ -138,6 +138,11 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_MISC], | ||
| HOTSPOT_TARGET_CPU_DEFINE="ARM32" | ||
| fi | ||
|
|
||
| + if test "x$OPENJDK_BUILD_CPU" = xarm; then | ||
| + HOTSPOT_BUILD_CPU=arm_32 | ||
| + HOTSPOT_BUILD_CPU_DEFINE="ARM32" | ||
| + fi | ||
| + | ||
| # --with-cpu-port is no longer supported | ||
| UTIL_DEPRECATED_ARG_WITH(with-cpu-port) | ||
|
|
||
| diff --git a/src/hotspot/share/memory/metaspaceShared.cpp b/src/hotspot/share/memory/metaspaceShared.cpp | ||
| index 7adecd141..e895e21d1 100644 | ||
| --- a/src/hotspot/share/memory/metaspaceShared.cpp | ||
| +++ b/src/hotspot/share/memory/metaspaceShared.cpp | ||
| @@ -71,6 +71,7 @@ | ||
| #include "utilities/ostream.hpp" | ||
| #include "utilities/defaultStream.hpp" | ||
| #include "utilities/hashtable.inline.hpp" | ||
| +#include "gc/shared/softRefPolicy.hpp" | ||
| #if INCLUDE_G1GC | ||
| #include "gc/g1/g1CollectedHeap.inline.hpp" | ||
| #endif | ||
| diff --git a/src/hotspot/share/oops/constantPool.cpp b/src/hotspot/share/oops/constantPool.cpp | ||
| index 1761efa7a..cd0602cd0 100644 | ||
| --- a/src/hotspot/share/oops/constantPool.cpp | ||
| +++ b/src/hotspot/share/oops/constantPool.cpp | ||
| @@ -443,8 +443,12 @@ void ConstantPool::remove_unshareable_info() { | ||
| } | ||
|
|
||
| int ConstantPool::cp_to_object_index(int cp_index) { | ||
| + Array<u2> *map = reference_map(); | ||
| + if (map == 0) | ||
| + return _no_index_sentinel; | ||
| + | ||
| // this is harder don't do this so much. | ||
| - int i = reference_map()->find(cp_index); | ||
| + int i = map->find(cp_index); | ||
| // We might not find the index for jsr292 call. | ||
| return (i < 0) ? _no_index_sentinel : i; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| diff --git a/src/hotspot/cpu/arm/assembler_arm_32.hpp b/src/hotspot/cpu/arm/assembler_arm_32.hpp | ||
| index dd04ad1ab..d43e29e5a 100644 | ||
| --- a/src/hotspot/cpu/arm/assembler_arm_32.hpp | ||
| +++ b/src/hotspot/cpu/arm/assembler_arm_32.hpp | ||
| @@ -1248,10 +1248,11 @@ extern int __aeabi_dcmpgt(double, double); | ||
|
|
||
| // Imported code from glibc soft-fp bundle for | ||
| // calculation accuracy improvement. See CR 6757269. | ||
| -extern double __aeabi_fadd_glibc(float, float); | ||
| -extern double __aeabi_fsub_glibc(float, float); | ||
| -extern double __aeabi_dadd_glibc(double, double); | ||
| -extern double __aeabi_dsub_glibc(double, double); | ||
| +#define __aeabi_fadd_glibc __aeabi_fadd | ||
| +#define __aeabi_fsub_glibc __aeabi_fsub | ||
| +#define __aeabi_dadd_glibc __aeabi_dadd | ||
| +#define __aeabi_dsub_glibc __aeabi_dsub | ||
| + | ||
| }; | ||
| #endif // __SOFTFP__ | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| ARG DEBIAN_RELEASE=stretch | ||
| ARG DEBIAN_RELEASE=buster | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will stretch not be supported? |
||
| ARG ARCH=armel | ||
| FROM ev3dev/debian-$DEBIAN_RELEASE-$ARCH-qemu-minbase | ||
| ARG DEBIAN_RELEASE | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,8 @@ | ||
| deb http://httpredir.debian.org/debian buster main contrib non-free | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This will need to be changed to archive.debian.org |
||
| #deb-src http://httpredir.debian.org/debian buster main contrib non-free | ||
| deb http://deb.debian.org/debian buster main contrib non-free | ||
| deb http://deb.debian.org/debian buster-updates main contrib non-free | ||
| deb http://deb.debian.org/debian-security buster/updates main contrib non-free | ||
| deb http://archive.ev3dev.org/debian buster main | ||
| #deb http://security.debian.org/ buster/updates main contrib non-free | ||
| #deb-src http://security.debian.org/ buster/updates main contrib non-free | ||
|
|
||
| deb http://archive.ev3dev.org/debian buster main | ||
| #deb-src http://archive.ev3dev.org/debian buster main | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,2 @@ | ||
| deb http://deb.debian.org/debian stretch main contrib non-free | ||
| deb http://deb.debian.org/debian stretch-updates main contrib non-free | ||
| deb http://deb.debian.org/debian-security stretch/updates main contrib non-free | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This doesn’t need to be deleted, as archive.debian.org has security updates too. |
||
| deb http://archive.debian.org/debian stretch main contrib non-free | ||
| deb http://archive.ev3dev.org/debian stretch main | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this committed out?