Magnus Ihse Bursie
79345bbbae
8339783: Implement JEP 479: Remove the Windows 32-bit x86 Port
...
Reviewed-by: kbarrett, kvn, stuefe, shade, erikj
2024-11-13 09:41:57 +00:00
David Holmes
90f3f43257
8328877: [JNI] The JNI Specification needs to address the limitations of integer UTF-8 String lengths
...
Reviewed-by: cjplummer, alanb
2024-09-04 03:41:42 +00:00
Maurizio Cimadamore
20d8f58c92
8331671: Implement JEP 472: Prepare to Restrict the Use of JNI
...
Reviewed-by: jpai, prr, ihse, kcr, alanb
2024-08-26 09:17:45 +00:00
David Holmes
71d9a83dec
8323243: JNI invocation of an abstract instance method corrupts the stack
...
Reviewed-by: coleenp, shade
2024-01-14 22:01:44 +00:00
Stefan Karlsson
cbe329b90a
8321713: Harmonize executeTestJvm with create[Limited]TestJavaProcessBuilder
...
Reviewed-by: lkorinth, lmesnik
2024-01-03 08:53:01 +00:00
Leo Korinth
d52a995f35
8315097: Rename createJavaProcessBuilder
...
Reviewed-by: lmesnik, dholmes, rriggs, stefank
2023-10-27 08:47:26 +00:00
Varada M
0b0f8b55a6
8219652: [aix] Tests failing with JNI attach problems.
...
Reviewed-by: dholmes, cjplummer, sspitsyn
2023-10-04 06:07:14 +00:00
Oli Gillespie
028b3ae1b1
8313874: JNI NewWeakGlobalRef throws exception for null arg
...
Reviewed-by: dholmes, kbarrett, shade
2023-08-10 08:51:50 +00:00
David Holmes
c2f421b8bf
8311541: JavaThread::print_jni_stack doesn't support native stacks on all platforms
...
Reviewed-by: pchilanomate, shade, stuefe
2023-07-18 22:04:37 +00:00
Vladimir Petko
0916e6a603
8311092: Please disable runtime/jni/nativeStack/TestNativeStack.java on armhf
...
Reviewed-by: dholmes
2023-07-03 22:25:20 +00:00
Varada M
5ff42d1429
8303549: [AIX] TestNativeStack.java is failing with exit value 1
...
Reviewed-by: dholmes, gziemski
2023-06-26 14:28:40 +00:00
David Holmes
1e6770fb97
8308341: JNI_GetCreatedJavaVMs returns a partially initialized JVM
...
Reviewed-by: jsjolen, gziemski
2023-05-30 22:46:06 +00:00
Alan Bateman
2586f36120
8304919: Implementation of Virtual Threads
...
Reviewed-by: lmesnik, cjplummer, psandoz, mchung, sspitsyn, jpai
2023-04-11 05:49:54 +00:00
Varada M
cb8107303e
8300139: [AIX] Use pthreads to avoid JNI_createVM call from primordial thread
...
Reviewed-by: dholmes, stuefe
2023-02-13 11:12:36 +00:00
Varada M
bccd55bfdf
8300295: [AIX] TestDaemonDestroy fails due to !is_primordial_thread assertion
...
Reviewed-by: dholmes, stuefe
2023-02-03 15:35:26 +00:00
David Holmes
d269ebbad2
8301570: Test runtime/jni/nativeStack/ needs to detach the native thread
...
Co-authored-by: Calvin Cheung <ccheung@openjdk.org>
Reviewed-by: lmesnik, ccheung
2023-02-01 07:56:21 +00:00
Alan Bateman
08e621829b
8300526: Test runtime/jni/IsVirtualThread/IsVirtualThread.java should exercise alternative virtual thread implementation
...
Reviewed-by: pchilanomate
2023-01-19 09:00:01 +00:00
Axel Boldt-Christmas
c7056737e3
8299089: Instrument global jni handles with tag to make them distinguishable
...
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Leslie Zhai <lzhai@openjdk.org>
Reviewed-by: eosterlund, stefank, ayang
2023-01-18 09:21:08 +00:00
David Holmes
375743336d
8295974: jni_FatalError and Xcheck:jni warnings should print the native stack when there are no Java frames
...
Reviewed-by: coleenp, rehn, sspitsyn
2023-01-03 04:22:51 +00:00
David Holmes
829cbc2cb1
8292674: ReportJNIFatalError should print all java frames
...
Reviewed-by: pchilanomate
2022-12-13 00:04:38 +00:00
David Holmes
692bedbc1d
8297106: Remove the -Xcheck:jni local reference capacity checking
...
Reviewed-by: dcubed, kevinw
2022-11-29 02:03:49 +00:00
David Holmes
e5b65c40ea
8290482: Update JNI Specification of DestroyJavaVM for better alignment with JLS, JVMS, and Java SE API Specifications
...
Reviewed-by: rehn, coleenp
2022-09-27 23:57:32 +00:00
Leonid Mesnik
543851db92
8289607: Change hotspot/jtreg tests to not use Thread.suspend/resume
...
Reviewed-by: sspitsyn, cjplummer
2022-09-23 17:44:57 +00:00
David Holmes
6eb7c3ad0e
8290732: JNI DestroyJavaVM can start shutdown when one non-daemon thread remains
...
Reviewed-by: stuefe, rehn
2022-08-12 06:41:22 +00:00
Leonid Mesnik
5a96a5db13
8289612: Change hotspot/jtreg tests to not use Thread.stop
...
Reviewed-by: dholmes, dcubed
2022-07-18 21:53:41 +00:00
Ichiroh Takiguchi
66340372d5
8287362: FieldAccessWatch testcase failed on AIX platform
...
Reviewed-by: cjplummer, mdoerr
2022-05-28 05:33:08 +00:00
Alan Bateman
9583e3657e
8284161: Implementation of Virtual Threads (Preview)
...
Co-authored-by: Ron Pressler <rpressler@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00
Daniel D. Daugherty
e8acac2aba
8277350: runtime/jni/checked/TestPrimitiveArrayCriticalWithBadParam.java times out
...
Reviewed-by: hseigel, dholmes, lmesnik
2021-11-23 17:08:31 +00:00
Igor Ignatyev
b48f31d381
8271743: mark hotspot runtime/jni tests which ignore external VM flags
...
Reviewed-by: dholmes
2021-08-04 04:51:46 +00:00
Jesper Wilhelmsson
eb6da88817
Merge
2021-07-27 00:57:58 +00:00
Igor Ignatyev
7ddabbff74
8271175: runtime/jni/FindClassUtf8/FindClassUtf8.java doesn't have to be run in othervm
...
Reviewed-by: dholmes
2021-07-26 17:19:33 +00:00
Jesper Wilhelmsson
9935440ede
Merge
2021-07-23 01:41:14 +00:00
Igor Ignatyev
2d165a2bdf
8271160: runtime/jni/checked/TestCheckedJniExceptionCheck.java doesn't set -Djava.library.path
...
Reviewed-by: dcubed, dholmes
2021-07-22 22:15:25 +00:00
Zhengyu Gu
bffb1a7199
8269923: runtime/jni/checked/TestPrimitiveArrayCriticalWithBadParam.java failed with "FATAL ERROR in native method: Primitive type array expected but not received for JNI array operation"
...
Reviewed-by: dcubed, dholmes
2021-07-07 11:47:02 +00:00
Zhengyu Gu
16aa8cbf8d
8269697: JNI_GetPrimitiveArrayCritical() should not accept object array
...
Reviewed-by: kbarrett, dholmes
2021-07-06 12:25:11 +00:00
Igor Ignatyev
59d84787e9
8268591: a few runtime/jni tests don't need /othervm
...
Reviewed-by: dholmes, mseledtsov
2021-06-18 09:56:36 +00:00
Harold Seigel
0136c89ce1
8265490: Unterminated string passed to FindClass() in hotspot test
...
Reviewed-by: coleenp, stuefe
2021-04-21 16:01:22 +00:00
Anton Kozlov
dbc9e4b50c
8253795: Implementation of JEP 391: macOS/AArch64 Port
...
8253816: Support macOS W^X
8253817: Support macOS Aarch64 ABI in Interpreter
8253818: Support macOS Aarch64 ABI for compiled wrappers
8253819: Implement os/cpu for macOS/AArch64
8253839: Update tests and JDK code for macOS/Aarch64
8254941: Implement Serviceability Agent for macOS/AArch64
8255776: Change build system for macOS/AArch64
8262903: [macos_aarch64] Thread::current() called on detached thread
Co-authored-by: Vladimir Kempik <vkempik@openjdk.org>
Co-authored-by: Bernhard Urban-Forster <burban@openjdk.org>
Co-authored-by: Ludovic Henry <luhenry@openjdk.org>
Co-authored-by: Monica Beckwith <mbeckwit@openjdk.org>
Reviewed-by: erikj, ihse, prr, cjplummer, stefank, gziemski, aph, mbeckwit, luhenry
2021-03-25 18:10:18 +00:00
Igor Ignatyev
d825198e55
8263556: remove @modules java.base
from tests
...
Reviewed-by: dcubed, naoto, iris
2021-03-15 17:05:28 +00:00
David Holmes
7e6677b532
8259446: runtime/jni/checked/TestCheckedReleaseArrayElements.java fails with stderr not empty
...
Reviewed-by: dcubed
2021-01-08 22:25:21 +00:00
David Holmes
712014c595
8258077: Using -Xcheck:jni can lead to a double-free after JDK-8193234
...
Reviewed-by: dcubed, hseigel
2021-01-08 04:11:22 +00:00
Aleksei Voitylov
63009f90ec
8247589: Implementation of Alpine Linux/x64 Port
...
Co-authored-by: Mikael Vidstedt <mikael@openjdk.org>
Co-authored-by: Alexander Scherbatiy <alexsch@openjdk.org>
Co-authored-by: Axel Siebenborn <asiebenborn@openjdk.org>
Co-authored-by: Aleksei Voitylov <avoitylov@openjdk.org>
Reviewed-by: alanb, erikj, dholmes
2020-10-13 09:35:58 +00:00
Alex Menkov
3320fc0f52
8253372: [TESTBUG] update tests which require jvmti - hotspot
...
Reviewed-by: sspitsyn, iklam
2020-09-23 21:11:31 +00:00
Igor Ignatyev
4fe6a3da68
8252532: use Utils.TEST_NATIVE_PATH instead of System.getProperty("test.nativepath")
...
Reviewed-by: dholmes, sspitsyn
2020-09-01 17:23:00 -07:00
David Holmes
1b1c1cd7b9
8249940: Remove unnecessary includes of jni_util.h in native tests
...
Reviewed-by: iignatyev, mchung
2020-07-23 00:47:02 -04:00
Coleen Phillimore
6aa15ad7ab
8166358: Re-enable String verification in java_lang_String::create_from_str()
...
Check for invalid strings in class names in debug mode, and only verify valid strings in create_for_str().
Reviewed-by: dholmes, hseigel
2020-05-26 09:44:17 -04:00
Mikael Vidstedt
071bd521bc
8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
...
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Matthias Baesken
f10fd7a78e
8240603: Windows 32bit compile error after 8238676
...
Reviewed-by: clanger, dholmes
2020-03-05 13:12:51 +01:00
David Holmes
c42de93347
8238676: jni crashes on accessing it from process exit hook
...
Reviewed-by: fparain, gziemski
2020-03-02 19:49:42 -05:00
David Holmes
9f21d809ab
8238460: Provide warnings about the use of JNI RegisterNatives to rebind native methods for boot/platform classes in other classloaders
...
Reviewed-by: jwilhelm, lfoltan
2020-02-06 21:03:40 -05:00