mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-13 03:00:31 +00:00
940a37f5f0
cherry-pick all patches, apply them on upstream JDK, and adapted for newer $UPDATE version fix: type redefinition introduced in 21.0.2
27 lines
855 B
Diff
27 lines
855 B
Diff
From 58c60eede946cdd1dd334e719d52b25829138741 Mon Sep 17 00:00:00 2001
|
|
From: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com>
|
|
Date: Mon, 28 Jun 2021 17:47:31 +0700
|
|
Subject: [PATCH 19/37] Warn instead of exiting if getcpu(2) is unsupported
|
|
|
|
---
|
|
src/hotspot/os/linux/os_linux.cpp | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/hotspot/os/linux/os_linux.cpp b/src/hotspot/os/linux/os_linux.cpp
|
|
index c8fb1f10c..fdc7aad3d 100644
|
|
--- a/src/hotspot/os/linux/os_linux.cpp
|
|
+++ b/src/hotspot/os/linux/os_linux.cpp
|
|
@@ -3019,7 +3019,8 @@ void os::Linux::sched_getcpu_init() {
|
|
}
|
|
|
|
if (sched_getcpu() == -1) {
|
|
- vm_exit_during_initialization("getcpu(2) system call not supported by kernel");
|
|
+ // vm_exit_during_initialization
|
|
+ warning("getcpu(2) system call not supported by kernel");
|
|
}
|
|
}
|
|
|
|
--
|
|
2.45.2
|
|
|