Kim Barrett
9e843f56ec
8367014: Rename class Atomic to AtomicAccess
...
Reviewed-by: dholmes, aph, stefank
2025-09-12 06:35:55 +00:00
Paul Hübner
5cc8673841
8365765: thread.inline.hpp includes the wrong primary header file
...
Reviewed-by: stefank, ayang, jwaters
2025-08-25 09:13:35 +00:00
Coleen Phillimore
270cf67e5f
8288752: Split thread implementation files
...
Reviewed-by: dholmes, rehn, iklam
2022-06-22 12:49:25 +00:00
Daniel D. Daugherty
31d981e5ea
8288532: additional review changes for JDK-8286830
...
Reviewed-by: pchilanomate, dholmes
2022-06-21 16:36:51 +00:00
Daniel D. Daugherty
e26d3b3c01
8288497: add support for JavaThread::is_oop_safe()
...
Reviewed-by: pchilanomate, dholmes, rehn, eosterlund
2022-06-21 16:08:09 +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
Patricio Chilano Mateo
4e20a03786
8283044: Use asynchronous handshakes to deliver asynchronous exceptions
...
Reviewed-by: dcubed, dholmes, rehn
2022-04-04 14:00:26 +00:00
Fei Yang
e5e1aab459
8284068: riscv: should call Atomic::release_store in JavaThread::set_thread_state
...
Reviewed-by: shade
2022-04-02 02:46:26 +00:00
Fei Yang
5905b02c0e
8276799: Implementation of JEP 422: Linux/RISC-V Port
...
Co-authored-by: Yadong Wang <yadonn.wang@huawei.com>
Co-authored-by: Yanhong Zhu <zhuyanhong2@huawei.com>
Co-authored-by: Feilong Jiang <jiangfeilong@huawei.com>
Co-authored-by: Kun Wang <wangkun49@huawei.com>
Co-authored-by: Zhuxuan Ni <nizhuxuan@huawei.com>
Co-authored-by: Taiping Guo <guotaiping1@huawei.com>
Co-authored-by: Kang He <hekang6@huawei.com>
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Co-authored-by: Xiaolin Zheng <yunyao.zxl@alibaba-inc.com>
Co-authored-by: Kuai Wei <kuaiwei.kw@alibaba-inc.com>
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Reviewed-by: ihse, dholmes, rriggs, kvn, shade
2022-03-24 09:22:46 +00:00
David Holmes
8cc1235029
8282952: Thread::exit should be immune to Thread.stop
...
Reviewed-by: dcubed, pchilanomate, alanb
2022-03-23 00:06:53 +00:00
Patricio Chilano Mateo
0d80f6cf82
8274379: Allow process of unsafe access errors in check_special_condition_for_native_trans
...
Reviewed-by: rehn, dholmes
2021-10-11 13:34:42 +00:00
Markus Grönlund
c4207355d3
8267579: Thread::cooked_allocated_bytes() hits assert(left >= right) failed: avoid underflow
...
Reviewed-by: dcubed, stefank, kbarrett
2021-06-14 10:41:00 +00:00
Albert Mingkun Yang
58bdabcd40
8268164: Adopt cast notation for WorkerThread conversions
...
Reviewed-by: stefank, dholmes
2021-06-07 08:20:39 +00:00
Stefan Karlsson
64f0f68958
8267464: Circular-dependency resilient inline headers
...
Reviewed-by: kbarrett, eosterlund, dholmes, kvn
2021-05-31 08:59:19 +00:00
Albert Mingkun Yang
bfa46f0af3
8252476: as_Worker_thread() doesn't check what it intends
...
Co-authored-by: David Holmes <dholmes@openjdk.org>
Reviewed-by: iklam, kbarrett
2021-05-27 08:09:58 +00:00
Patricio Chilano Mateo
853ffdb25c
8265934: Cleanup _suspend_flags and _special_runtime_exit_condition
...
Reviewed-by: rehn, dcubed, dholmes
2021-05-13 18:04:26 +00:00
Robbin Ehn
86bd44fe80
8257831: Suspend with handshakes
...
Reviewed-by: dcubed, rrich, dholmes, pchilanomate, sspitsyn
2021-04-22 10:30:47 +00:00
Ioi Lam
33b6378f1e
8265101: Remove unnecessary functions in os*.inline.hpp
...
Reviewed-by: dholmes, kbarrett
2021-04-22 05:44:39 +00:00
Daniel D. Daugherty
9b2232bc1f
8264123: add ThreadsList.is_valid() support
...
Reviewed-by: dholmes, eosterlund, rehn
2021-04-03 19:03:04 +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
5ea960728c
8258459: Decouple gc_globals.hpp from globals.hpp
...
Reviewed-by: lfoltan, coleenp
2021-01-05 05:57:08 +00:00
Coleen Phillimore
56ea490f1e
8233343: Deprecate -XX:+CriticalJNINatives flag which implements JavaCritical native functions
...
Reviewed-by: rehn, mdoerr, zgu
2020-10-21 20:33:24 +00:00
Richard Reingruber
40f847e2fb
8227745: Enable Escape Analysis for Better Performance in the Presence of JVMTI Agents
...
8233915: JVMTI FollowReferences: Java Heap Leak not found because of C2 Scalar Replacement
Reviewed-by: mdoerr, goetz, sspitsyn, kvn
2020-10-20 15:31:55 +00:00
Erik Österlund
b9873e1833
8253180: ZGC: Implementation of JEP 376: ZGC: Concurrent Thread-Stack Processing
...
Reviewed-by: stefank, pliden, rehn, neliasso, coleenp, smonteith
2020-10-09 08:40:33 +00:00
Coleen Phillimore
6bc493188b
8253717: Relocate stack overflow code out of thread.hpp/cpp
...
Reviewed-by: rehn, dcubed, dholmes, stuefe
2020-10-08 11:24:27 +00:00
Coleen Phillimore
d1d57d9446
8173658: JvmtiExport::post_class_unload() is broken for non-JavaThread initiators
...
Call extension ClassUnload event as a deferred event from the ServiceThread and remove unsafe arguments
Reviewed-by: sspitsyn, dholmes
2019-12-02 09:02:17 -05:00
Stefan Karlsson
0ad50c2b5c
8234740: Harmonize parameter order in Atomic - cmpxchg
...
Reviewed-by: rehn, dholmes
2019-11-25 12:33:15 +01:00
Stefan Karlsson
e527ce4b57
8234562: Move OrderAccess::release_store*/load_acquire to Atomic
...
Reviewed-by: rehn, dholmes
2019-11-25 12:22:13 +01:00
Robbin Ehn
1814ecf475
8222637: Obsolete NeedsDeoptSuspend
...
Reviewed-by: dlong, coleenp, dholmes
2019-04-26 10:18:47 +02:00
Coleen Phillimore
0314bac167
8222231: Clean up interfaceSupport.inline.hpp duplicated code
...
Reviewed-by: dholmes, pchilanomate
2019-04-10 17:31:31 -04:00
Aleksey Shipilev
5ce7eb34e4
8218151: Simplify JavaThread::thread_state definition
...
Reviewed-by: stefank, dholmes, kbarrett
2019-02-01 16:03:16 +01:00
David Holmes
d1c7bfeb4b
8213397: Stack dump should show more clearly when a thread is blocked on a class initialization monitor
...
Reviewed-by: rehn, coleenp
2019-01-15 16:40:31 -05:00
Coleen Phillimore
154a1a02bf
8216167: Update include guards to reflect correct directories
...
Use script and some manual fixup to fix directores names in include guards.
Reviewed-by: lfoltan, eosterlund, kbarrett
2019-01-10 15:13:51 -05:00
Robbin Ehn
751aa57f16
8214181: safepoint header cleanup
...
Reviewed-by: kbarrett, dholmes, coleenp
2018-11-23 11:07:54 +01:00
Martin Doerr
4f2abf069a
8206003: SafepointSynchronize with TLH: StoreStore barriers should be moved out of the loop
...
Reviewed-by: eosterlund, rehn, dholmes
2018-07-02 11:46:15 +02:00
Coleen Phillimore
892a2af03f
8204301: Make OrderAccess functions available to hpp rather than inline.hpp files
...
Move orderAccess.inline.hpp into orderAccess.hpp and remove os.hpp inclusion and conditional os::is_MP() for fence on x86 platforms
Reviewed-by: dholmes, hseigel
2018-06-06 10:45:40 -04:00
Stefan Karlsson
1cb95bd3d1
8200729: Conditional compilation of GCs
...
Reviewed-by: ehelin, coleenp, kvn, ihse
2018-05-04 11:41:35 +02:00
Coleen Phillimore
221d0f4c54
8199809: Don't include frame.inline.hpp and other.inline.hpp from .hpp files
...
Remove frame.inline.hpp,etc from header files and adjust transitive includes.
Reviewed-by: stefank, stuefe
2018-03-21 19:45:24 -04:00
Kim Barrett
7f0f329daf
8194691: Cleanup unnecessary casts in Atomic/OrderAccess uses
...
Removed unnecessary casts.
Reviewed-by: coleenp, tschatzl
2018-02-11 03:12:15 -05:00
Daniel D. Daugherty
230b5768d7
8191789: migrate more Thread-SMR stuff from thread.[ch]pp -> threadSMR.[ch]pp
...
Reviewed-by: stefank, coleenp, dholmes, gthornbr
2017-12-06 15:19:30 -05:00
Daniel D. Daugherty
b468df82f9
8191787: move private inline functions from thread.inline.hpp -> thread.cpp
...
Reviewed-by: coleenp, dholmes
2017-11-30 18:38:20 -05:00
Daniel D. Daugherty
0dff96ff0b
8167108: inconsistent handling of SR_lock can lead to crashes
...
Add Thread Safe Memory Reclamation (Thread-SMR) mechanism.
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Reviewed-by: coleenp, dcubed, dholmes, eosterlund, gthornbr, kbarrett, rehn, sspitsyn, stefank
2017-11-22 17:54:50 -08:00
David Holmes
687c2c5412
8189170: Add option to disable stack overflow checking in primordial thread for use with JNI_CreateJavaJVM
...
Reviewed-by: stuefe, dcubed
2017-11-20 15:56:32 -05:00
Robbin Ehn
104ecb2dd1
8189941: Implementation JEP 312: Thread-local handshake
...
Introduce a way to execute a callback on threads without performing a global VM safepoint. Make it both possible and cheap to stop individual threads and not just all threads or none.
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Reviewed-by: mdoerr, neliasso, acorn, aph, coleenp, dholmes
2017-08-31 10:00:28 +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