David Holmes
692bedbc1d
8297106: Remove the -Xcheck:jni local reference capacity checking
...
Reviewed-by: dcubed, kevinw
2022-11-29 02:03:49 +00:00
Coleen Phillimore
270cf67e5f
8288752: Split thread implementation files
...
Reviewed-by: dholmes, rehn, iklam
2022-06-22 12:49:25 +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
Leonid Mesnik
1aff44b2cf
8279949: JavaThread::_free_handle_block leaks native memory
...
Reviewed-by: dholmes, coleenp
2022-02-15 17:59:51 +00:00
Albert Mingkun Yang
863bffb3b6
8279374: Remove unused JNIHandles::weak_oops_do
...
Reviewed-by: coleenp
2022-01-04 09:56:17 +00:00
Coleen Phillimore
3b2585c02b
8276658: Clean up JNI local handles code
...
Reviewed-by: dholmes, pchilanomate
2021-11-12 16:17:15 +00:00
Guoxiong Li
cd678a383f
8268368: Adopt cast notation for JavaThread conversions
...
Reviewed-by: dholmes, stefank
2021-06-23 02:21:24 +00:00
Kim Barrett
bb354b9d1c
8264166: OopStorage should support specifying MEMFLAGS for allocations
...
Reviewed-by: tschatzl, stefank
2021-03-26 07:44:22 +00:00
Ioi Lam
82028e70d1
8260012: Reduce inclusion of collectedHeap.hpp and heapInspection.hpp
...
Reviewed-by: stefank, tschatzl
2021-02-04 04:05:33 +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
David Holmes
1f91e0ebe3
8194309: JNI handle allocation failure not reported correctly
...
Reviewed-by: kbarrett, coleenp
2020-07-23 21:46:39 -04:00
David Holmes
73c75ed838
8249650: Optimize JNIHandle::make_local thread variable usage
...
Reviewed-by: kbarrett, dcubed, kvn, coleenp, sspitsyn
2020-07-22 01:27:08 -04:00
Kim Barrett
a8d6a05ce8
8248391: Unify handling of all OopStorage instances in weak root processing
...
OopStorage instance now owned by subsystems, and generalize dead entry notification
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Reviewed-by: coleenp, tschatzl
2020-07-16 17:41:14 -04:00
David Holmes
bd028945bd
8238988: Rename thread "in stack" methods and add in_stack_range
...
Reviewed-by: coleenp, dcubed
2020-02-23 22:35:59 -05:00
Erik Österlund
f869706f5f
8224815: Remove non-GC uses of CollectedHeap::is_in_reserved()
...
Reviewed-by: stefank, coleenp
2019-09-05 08:26:49 +02:00
Kim Barrett
1acad37ee6
8227054: ServiceThread needs to know about all OopStorage objects
...
8227053: ServiceThread cleanup of OopStorage is missing some
OopStorages provides named access and iteration.
Reviewed-by: eosterlund, pliden, coleenp
2019-08-21 18:42:30 -04:00
Coleen Phillimore
d1ca6221a4
5103339: Strengthen NoSafepointVerifier
...
Add NSV check at possible safepoint transition or places that could take out locks. Consolidate with clearing unhandled oops.
Reviewed-by: dholmes, rehn
2019-08-14 10:07:00 -04:00
Erik Österlund
98fb7b85e5
8229027: Improve how JNIHandleBlock::oops_do distinguishes oops from non-oops
...
Reviewed-by: pliden, stuefe, dlong
2019-08-09 10:06:44 +02:00
David Holmes
4098f0ecdd
8225217: Backout: JDK-8224814: Remove dead JNIHandleBlock freelist code
...
Reviewed-by: kvn, kbarrett
2019-06-04 21:25:40 -04:00
Erik Österlund
50e2aa7306
8224814: Remove dead JNIHandleBlock freelist code
...
Reviewed-by: stefank, tschatzl, kbarrett
2019-06-03 13:35:05 +02:00
Coleen Phillimore
77d60eff6a
8223626: move print() functions to cpp files
...
Improve debugging experience
Reviewed-by: dholmes, dlong
2019-05-10 09:05:29 -04:00
Stefan Karlsson
c90f3ee68b
8223624: Cleanup includes of universe.hpp
...
Reviewed-by: coleenp, lkorinth
2019-05-09 14:28:30 +02:00
Coleen Phillimore
fbafef11c0
8222811: Consolidate MutexLockerEx and MutexLocker
...
Make MutexLocker be MutexLockerEx implementation, remove MutexLockerEx calls.
Reviewed-by: dcubed, dholmes, pliden, rehn
2019-04-25 10:56:31 -04:00
Per Lidén
316924a7bd
8215492: Rename INTERNAL_EMPTY to something less "internal"
...
Reviewed-by: kbarrett, coleenp
2018-12-19 23:40:05 +01:00
Per Lidén
6a9c6a0392
8215451: JNI IsSameObject should not keep objects alive
...
Reviewed-by: eosterlund, kbarrett
2018-12-17 16:55:17 +01:00
Per Lidén
1af1a69fbc
8215395: Allow null oops in Dictionary and JNIHandle verification
...
Reviewed-by: eosterlund, kbarrett, coleenp
2018-12-15 20:03:06 +01:00
Per Lidén
bfbeb1fe9e
8214784: Adjust Dictionary and JNIHandle verification
...
Reviewed-by: coleenp, eosterlund
2018-12-05 17:11:19 +01:00
Harold Seigel
38db1d1620
8202171: Some oopDesc functions compare this with NULL
...
Add Method* parameter and made verify* methods static to avoid 'this' comparison with NULL, Added NULL checks before calling print_on() methods.
Reviewed-by: kbarrett, coleenp
2018-07-31 14:24:10 -04:00
Kim Barrett
8a2170dad7
8205559: Remove IN_CONCURRENT_ROOT Access decorator
...
Removed decorator and made all NativeAccess use barriers.
Reviewed-by: pliden, stefank
2018-06-26 16:59:38 -04:00
Kim Barrett
b84c23399e
8205459: Rename Access API flag decorators
...
Rename OOP_NOT_NULL, IN_HEAP_ARRAY, AS_DEST_NOT_INITIALIZED
Reviewed-by: pliden, stefank
2018-06-22 17:46:58 -04:00
Kim Barrett
05b5a78903
8204939: Change Access nomenclature: root to native
...
Rename RootAccess => NativeAccess, IN_ROOT => IN_NATIVE, and related cleanups.
Reviewed-by: pliden, stefank, coleenp
2018-06-15 16:53:58 -04:00
Per Lidén
e7af7a4aef
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
...
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Coleen Phillimore <coleen.phillimore@oracle.com>
Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Co-authored-by: Gerard Ziemski <gerard.ziemski@oracle.com>
Co-authored-by: Hugh Wilkinson <hugh.wilkinson@intel.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Co-authored-by: Bill Wheeler <bill.npo.wheeler@intel.com>
Co-authored-by: Vinay K. Awasthi <vinay.k.awasthi@intel.com>
Co-authored-by: Yasumasa Suenaga <yasuenag@gmail.com>
Reviewed-by: pliden, stefank, eosterlund, ehelin, sjohanss, rbackman, coleenp, ihse, jgeorge, lmesnik, rkennke
2018-06-12 17:40:28 +02:00
Erik Gahlin
a060be188d
8199712: Flight Recorder
...
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: coleenp, ihse, erikj, dsamersoff, mseledtsov, egahlin, mgronlun
2018-05-15 20:24:34 +02:00
Kim Barrett
0432a1081e
8202230: Provide accessors for JNIHandles storage objects
...
Add JNIHandles::[weak_]global_handles().
Reviewed-by: coleenp, tschatzl
2018-04-27 03:57:00 -04:00
Kim Barrett
9fee73ec95
8195972: Refactor oops in JNI to use the Access API
...
Use Access API in JNIHandles
Reviewed-by: coleenp, eosterlund
2018-03-30 21:57:50 -04:00
Volker Simonis
97cfb7bbb7
8199472: Fix non-PCH build after JDK-8199319
...
Reviewed-by: stefank, coleenp
2018-03-14 12:12:00 +01:00
Erik Österlund
a06129a432
8195148: Collapse G1SATBCardTableModRefBS and G1SATBCardTableLoggingModRefBS into a single G1BarrierSet
...
Reviewed-by: ehelin, kbarrett
2018-03-06 08:36:44 +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
Kim Barrett
72b9968396
8194898: Move OopStorage inline definitions to an .inline.hpp
...
Reviewed-by: coleenp, hseigel
2018-01-29 16:51:21 -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
Harold Seigel
dd8b189097
8167372: Add code to check for getting oops while thread is in native
...
Add asserts that detect when a thread is getting oops while in native
Reviewed-by: coleenp, shade, jiangli, gtriantafill
2017-12-15 15:13:18 -05:00
Kim Barrett
678aafa42c
8191870: Remove badJNIHandle
...
Reviewed-by: coleenp, eosterlund, dcubed
2017-11-28 15:52:32 -05:00
Doug Simon
f37bbe430d
8188102: [JVMCI] Convert special JVMCI oops in nmethod to jweak values
...
Reviewed-by: never, kvn, kbarrett
2017-11-06 12:53:55 +01:00
Erik Gahlin
5a9432a16b
8189440: Event tracing macros for allocation and weak oops processing
...
Reviewed-by: dholmes, mgronlun
2017-11-05 06:11:10 +01:00
Stefan Karlsson
6e571871e6
8189360: JvmtiExport::weak_oops_do is called for all JNIHandleBlock instances
...
Reviewed-by: pliden, kbarrett, sspitsyn
2017-10-18 21:15:01 +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