Johan Sjölen
b76a52f210
8301076: Replace NULL with nullptr in share/prims/
...
Reviewed-by: kbarrett, dholmes
2023-01-31 14:22:44 +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
Stefan Karlsson
df6cf1e41d
8296886: Fix various include sort order issues
...
Reviewed-by: kbarrett, dholmes, stuefe
2022-11-24 15:06:19 +00:00
Stefan Karlsson
813b223a6b
8296926: Sort include lines of files in the include/ directory
...
Reviewed-by: kbarrett, erikj, lkorinth
2022-11-16 12:51:26 +00:00
Coleen Phillimore
270cf67e5f
8288752: Split thread implementation files
...
Reviewed-by: dholmes, rehn, iklam
2022-06-22 12:49:25 +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
Magnus Ihse Bursie
4594696f54
8284903: Fix typos in hotspot
...
Reviewed-by: cjplummer, coleenp, kvn, lucy, stefank
2022-04-19 19:10:52 +00:00
Guoxiong Li
cd678a383f
8268368: Adopt cast notation for JavaThread conversions
...
Reviewed-by: dholmes, stefank
2021-06-23 02:21:24 +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
Ioi Lam
ffbcf1b0a7
8260471: Change SystemDictionary::X_klass calls to vmClasses::X_klass
...
Reviewed-by: lfoltan, hseigel, dholmes, stuefe
2021-02-02 23:40:29 +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
David Holmes
976acddeb5
8252406: Introduce Thread::as_Java_thread() convenience function
...
Reviewed-by: shade, coleenp, kbarrett, dcubed
2020-09-11 01:31:32 +00: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
Coleen Phillimore
b4d28f36fc
8232735: Convert PrintJNIResolving to Unified Logging
...
Converted the existing output at debug level because it is noisy
Reviewed-by: iklam, dholmes
2019-11-11 12:11:34 -05:00
Claes Redestad
36ac846d35
8232881: Remove unnecessary InstanceKlass::casts
...
Reviewed-by: coleenp
2019-10-23 18:34:25 +02:00
Coleen Phillimore
a95a39a04e
8232120: com/sun/jdi/InvokeTest fails with -Xcheck:jni: assert(k->is_instance_klass()) failed: cast to InstanceKlass
...
Should have allowed recv klass to be an array.
Reviewed-by: hseigel, dcubed
2019-10-11 11:50:04 -04:00
Coleen Phillimore
638910826a
8229900: RedefineDeleteJmethod.java fails with -Xcheck:jni
...
Remove RedefineClasses adjustment and test, but improve checking for method/class matching.
Reviewed-by: dholmes, sspitsyn
2019-10-07 10:04:01 -04:00
Kim Barrett
1e1d9319dc
8189633: Missing -Xcheck:jni checking for DeleteWeakGlobalRef
...
Added validity check on the handle before deleting it.
Reviewed-by: dholmes, dcubed
2019-08-21 19:21:57 -04:00
David Holmes
3e904a4801
8193234: When using -Xcheck:jni an internally allocated buffer can leak
...
Reviewed-by: shade, hseigel
2019-02-08 20:51:55 -05:00
Ioi Lam
bc62b3a40e
8209647: constantPoolHandle::constantPoolHandle(ConstantPool*) when precompiled header is disabled
...
Added fieldDescriptor.inline.hpp
Reviewed-by: coleenp, shade
2018-08-20 13:58:23 -07:00
Harold Seigel
5ff2b5fe98
8203911: Test runtime/modules/getModuleJNI/GetModule fails with -Xcheck:jni
...
Remove unneeded validate_class() check from checked_jni_GetModule().
Reviewed-by: dholmes, coleenp
2018-07-06 06:26:25 -07:00
Coleen Phillimore
fde89a34d0
8199263: Split interfaceSupport.hpp to not require including .inline.hpp files
...
InterfaceSupport.hpp is an inline file so moved to interfaceSupport.inline.hpp and stopped including it in .hpp files
Reviewed-by: stefank, rehn, kvn
2018-03-16 09:12:13 -04:00
Stefan Karlsson
b9f2f3e199
8199275: Fix inclusions of allocation.inline.hpp
...
Reviewed-by: coleenp, kbarrett, dholmes
2018-03-08 09:56:29 +01:00
Kim Barrett
d7765d9002
8198474: Move JNIHandles::resolve into jniHandles.inline.hpp
...
Moved resolve and friends to new jniHandles.inline.hpp.
Reviewed-by: tschatzl, pliden, coleenp
2018-03-01 16:51:22 -05:00
Coleen Phillimore
aa51ac19b3
8196199: Remove miscellaneous oop comparison operators
...
Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Reviewed-by: hseigel, lfoltan
2018-02-01 13:30:53 -05:00
Kim Barrett
2d847b1eb6
8195690: JNI GetObjectRefType doesn't handle NULL
...
Properly handle NULL, add some non-NULL preconditions.
Reviewed-by: dholmes, mdoerr
2018-01-23 14:27:10 -05:00
Kim Barrett
e1356ec6cf
8194312: Support parallel and concurrent JNI global handle processing
...
Add OopStorage, change JNI gloabl/weak to use OopStorage.
Reviewed-by: coleenp, sspitsyn, eosterlund
2017-11-21 09:47:55 -05:00
David Holmes
b1001c7d7d
8193222: EnsureLocalCapacity() should maintain capacity requests through multiple calls
...
Reviewed-by: coleenp, dcubed
2017-12-12 19:06:19 -05:00
Coleen Phillimore
e908052a71
8189610: Reconcile jvm.h and all jvm_md.h between java.base and hotspot
...
Removed hotspot version of jvm*h and jni*h files.
Reviewed-by: ihse, mchung, dholmes
2017-10-31 11:55:09 -04:00
Magnus Ihse Bursie
7c78b40f8d
8189608: Remove duplicated jni.h
...
Reviewed-by: erikj, dholmes, coleenp
2017-10-19 11:59:52 +02:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00