Commit Graph

57975 Commits

Author SHA1 Message Date
CuriousTommy
5a541c1844
Merge pull request #1 from darlinghq/remove_lkm
Generate SDK Headers For JavaNativeFoundation
2024-01-15 20:23:16 -08:00
Thomas A
3c6eb73f3c Generate SDK Headers For JavaNativeFoundation 2023-05-14 07:40:19 -07:00
Ariel Abreu
18a33aa40d
Add PARENT_COMPONENT info to JNF framework 2023-05-01 11:32:50 -04:00
Ariel Abreu
d10ae7852d
Add CMakeLists.txt for Darling 2021-05-21 13:55:03 -04:00
Jeremy Huddleston Sequoia
356491bda2 JavaNativeFoundation: Re-license under BSD-3
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2020-09-15 14:28:08 -07:00
Jeremy Huddleston Sequoia
da09ed7a30 Add my build script
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2020-07-28 10:42:29 -07:00
Jeremy Huddleston Sequoia
2e5f02d0d3 Add a disclaimer to README
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2020-07-28 10:42:29 -07:00
Garry Watkins
aba921c697 Removed invalid GNU GPL v3 reference from the java.smartcardio library, because stated source files do not exist in the repository 2020-07-28 10:42:28 -07:00
Jeremy Huddleston Sequoia
abb790eaf8 HACK: Don't PROT_EXEC mapped pages for java bytecode
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2020-07-28 10:42:28 -07:00
Jeremy Huddleston Sequoia
f8461fcf12 HACK: Disable blob creation on zero
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2020-07-28 10:42:28 -07:00
Jeremy Huddleston Sequoia
1c99490e16 Use pointer authentication where applicable for function pointer casting
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2020-07-28 10:42:28 -07:00
Jeremy Huddleston Sequoia
53ee6ff7fd Disable os::processor_id for arm64
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2020-07-28 10:42:27 -07:00
Jeremy Huddleston Sequoia
c54e9c76ee [macos] Set the preferred JVM type to zero for arm64
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2020-07-28 10:42:27 -07:00
Jeremy Huddleston Sequoia
ca080a229f [macos] Update build system to successfully build the zero variant for macOS/arm64
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2020-07-28 10:42:27 -07:00
Jeremy Huddleston Sequoia
a0990b15c3 [macos] Setup LC_RPATH to locate JavaNativeFoundation.framework
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2020-07-28 10:42:27 -07:00
Jeremy Huddleston Sequoia
55b3ebec85 [macos] Add JavaNativeFoundation
* Imported JavaNativeFoundation-80 as shipped with macOS 11 Beta
 * Added license information to all source files
 * Removed linker redirection support (only needed for the system framework)
 * Updated dylib id to be @rpath-relative
 * Updated to use jni.h from the JDK rather than the old copy in the macOS SDK

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2020-07-28 10:41:28 -07:00
Jeremy Huddleston Sequoia
dd60699ea5 [macos] Dead code removal (support for checking for SnowLeopard or older hosts)
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2020-07-18 01:20:07 -07:00
Jeremy Huddleston Sequoia
e6ce1bf0b7 [macos] Always codesign, and error out of configure if a requested codesigning identity is not found
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2020-07-16 09:18:12 -07:00
Jeremy Huddleston Sequoia
bad1d90bb0 [zero] Fix funciton call casting to libffi_call
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2020-07-16 09:18:12 -07:00
Jeremy Huddleston Sequoia
7ee657d10e test_arraycopy_func: Use CAST_TO_FN_PTR() rather than directly casting arraycopy_fn
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2020-07-16 09:18:12 -07:00
Garry Watkins
1f1770dacd [macos] Address deprecation warnings when using a higher deployment target 2020-07-16 09:18:12 -07:00
Jeremy Huddleston Sequoia
06eca31d47 [macos] Use @available to determine if we should get OS version from NSProcessInfo
This is much cleaner than checking -respondsToSelector: and using objc_msgSend_stret()

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2020-07-16 09:18:12 -07:00
Jeremy Huddleston Sequoia
9eaae342d1 [macos] Don't search for frameworks below JavaVM.framework in newer SDKs
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2020-07-16 09:18:12 -07:00
Jeremy Huddleston Sequoia
2056652bef [macos] Don't add -iframework<path>/System/Library/Frameworks to CFLAGS as the compiler does that for us
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2020-07-16 09:18:12 -07:00
Jeremy Huddleston Sequoia
0d73dd5640 Fix broken build of core variant by adding missing include for VMThread
src/hotspot/share/runtime/java.cpp:533:7: error: use of undeclared identifier 'VMThread'
  if (VMThread::vm_thread() != NULL) {
      ^
src/hotspot/share/runtime/java.cpp:553:5: error: use of undeclared identifier 'VMThread'
    VMThread::execute(&op);
    ^
src/hotspot/share/runtime/java.cpp:553:24: error: declaration of reference variable 'op' requires an initializer
    VMThread::execute(&op);
                       ^~
3 errors generated.

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2020-07-16 09:18:12 -07:00
Jie Fu
333cbe2537 8238284: [macos] Zero VM build fails due to an obvious typo
Reviewed-by: dholmes
(cherry picked from commit 0330504ba72349241dce28e6db562b4ab4bdde69)
2020-07-16 09:18:12 -07:00
Jerry Zhou
4c6b476f2b Added tag jdk-14.0.2-ga for changeset 55692db5e928 2020-07-09 02:08:41 -07:00
Jerry Zhou
50016b1a14 Added tag jdk-14.0.2+12 for changeset 55692db5e928 2020-07-08 21:06:13 -07:00
Rob McKenna
a718f22fc0 Merge 2020-07-08 20:01:33 +00:00
Valerie Peng
bba5338a01 8248505: Unexpected NoSuchAlgorithmException when using secure random impl from BCFIPS provider
Use getService(...) call for Provider.getDefaultSecureRandomService()

Reviewed-by: weijun, coffeys, mullan
2020-07-08 19:31:22 +00:00
Jerry Zhou
45998258b6 Added tag jdk-14.0.2-ga for changeset cdbb615a218e 2020-06-25 16:45:09 -07:00
Jerry Zhou
b83f1c99e0 Added tag jdk-14.0.2+11 for changeset 7f22b780ced8 2020-06-22 17:02:49 -07:00
Rob McKenna
4aca803bbd Merge 2020-06-22 15:39:05 +00:00
Jamil Nimeh
7a3bf58b8a 8236039: JSSE Client does not accept status_request extension in CertificateRequest messages for TLS 1.3
Reviewed-by: xuelei
2020-06-21 18:44:20 -07:00
Jerry Zhou
94eeb26b39 Added tag jdk-14.0.2+10 for changeset 8670b161260d 2020-06-15 21:03:59 -07:00
Rob McKenna
87ffb4725c Merge 2020-06-15 12:30:01 +00:00
Aleksey Shipilev
9db6fb74df 8247560: Shenandoah: heap iteration holds root locks all the time
Reviewed-by: zgu
2020-06-15 14:11:43 +02:00
Prasadrao Koppula
e23aaedacf 8246031: SSLSocket.getSession() doesn't close connection for timeout/ interrupts
Reviewed-by: xuelei, coffeys
2020-06-11 21:54:51 +05:30
Valerie Peng
3bb66a2ab5 8246613: Choose the default SecureRandom algo based on registration ordering
Fixed java.security.Provider and SecureRandom to use the 1st registered SecureRandom service

Reviewed-by: weijun, mullan
2020-06-12 02:34:44 +00:00
Aleksey Shipilev
7a7859a465 8247358: Shenandoah: reconsider free budget slice for marking
Reviewed-by: zgu
2020-06-11 18:16:26 +02:00
Aleksey Shipilev
7c153f3129 8247474: Shenandoah: Windows build warning after JDK-8247310
Reviewed-by: rkennke
2020-06-14 18:16:31 +02:00
Aleksey Shipilev
9a4593b5ea 8247310: Shenandoah: pacer should not affect interrupt status
Reviewed-by: zgu
2020-06-10 16:05:36 +02:00
Rob McKenna
059e07a458 Merge 2020-06-10 12:58:14 +00:00
Jerry Zhou
9ebd68ded0 Added tag jdk-14.0.2+9 for changeset 6ede749312e8 2020-06-04 19:09:11 -07:00
Aleksey Shipilev
4dce01703b 8246097: Shenandoah: limit parallelism in CLDG root handling
Reviewed-by: zgu
2020-06-02 14:27:18 +02:00
Aleksey Shipilev
778f969da7 8246100: Shenandoah: walk roots in more efficient order
Reviewed-by: zgu
2020-06-02 14:26:16 +02:00
Zhengyu Gu
71dc27ed29 8246342: Shenandoah: remove unused ShenandoahIsMarkedNextClosure
Reviewed-by: shade
2020-06-02 15:01:45 -04:00
Vaibhav Choudhary
2b6a4004fb 8245179: JvmciNotifyBootstrapFinishedEventTest.java fails with custom Tiered Level set externally
Fixed to not to run the testcase with TieredStopAtLevel set

Reviewed-by: thartmann
2020-05-27 17:28:22 +05:30
Rob McKenna
05df28d775 Merge 2020-06-04 00:23:59 +00:00
Jerry Zhou
c4244cddd1 Added tag jdk-14.0.2+8 for changeset 43b55a65fd94 2020-05-27 01:42:59 -07:00