Commit graph

300 commits

Author SHA1 Message Date
Serguei Spitsyn
94811c0dc7 8286960: Test serviceability/jvmti/vthread/SuspendResume2 crashed: missing ThreadsListHandle in calling context
Reviewed-by: dholmes, pchilanomate, amenkov
2022-05-26 00:29:31 +00:00
Jaroslav Bachorik
93c88690a1 8283849: AsyncGetCallTrace may crash JVM on guarantee
Reviewed-by: dholmes, stuefe
2022-05-18 06:45:15 +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
Johannes Bechberger
4b2c82200f 8282477: [x86, aarch64] vmassert(_last_Java_pc == NULL, "already walkable"); fails with async profiler
Reviewed-by: dholmes, mdoerr, dlong
2022-05-04 07:54:52 +00:00
Daniel D. Daugherty
efcd3d3a8f 8286088: add comment to InstallAsyncExceptionHandshake destructor
Reviewed-by: dholmes
2022-05-03 21:26:53 +00:00
Daniel D. Daugherty
4a79270c01 8284632: runtime/Thread/StopAtExit.java possibly leaking memory again
Reviewed-by: pchilanomate, rehn
2022-05-02 15:23:03 +00:00
Doug Simon
357b1b18c2 8242440: use separate, destroyable JavaVM instances per libgraal compiler thread
Reviewed-by: kvn, thartmann
2022-04-23 06:08:11 +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
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
Johannes Bechberger
999da9bfc5 8282306: os::is_first_C_frame(frame*) crashes on invalid link access
Reviewed-by: stuefe, mdoerr
2022-03-21 15:49:59 +00:00
Thomas Stuefe
cab590517b 8280583: Always build NMT
Reviewed-by: shade, ihse, zgu
2022-01-27 09:18:17 +00:00
Patricio Chilano Mateo
237f861e82 8273143: Transition to _thread_in_vm when handling a polling page exception
Reviewed-by: rehn, dcubed, coleenp, rrich
2022-01-13 17:49:01 +00:00
Thomas Stuefe
3f9638d124 8278585: Drop unused code from OSThread
Reviewed-by: dholmes, tschatzl
2021-12-14 05:45:56 +00:00
Ioi Lam
a77d8ddf11 8276787: Improve warning messages for -XX:+RecordDynamicDumpInfo
Reviewed-by: ccheung, stuefe
2021-11-16 21:03:33 +00:00
Daniel D. Daugherty
176d21d6c5 8276824: refactor Thread::is_JavaThread_protected
Reviewed-by: coleenp, rehn, dholmes
2021-11-12 19:06:01 +00:00
Coleen Phillimore
3b2585c02b 8276658: Clean up JNI local handles code
Reviewed-by: dholmes, pchilanomate
2021-11-12 16:17:15 +00:00
Daniel D. Daugherty
ea23e7333e 8249004: Reduce ThreadsListHandle overhead in relation to direct handshakes
Reviewed-by: coleenp, sspitsyn, dholmes, rehn
2021-11-08 14:45:04 +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
Patricio Chilano Mateo
92b05fe0f4 8273251: Call check_possible_safepoint() from SafepointMechanism::process_if_requested()
Reviewed-by: coleenp, dholmes
2021-09-02 21:22:47 +00:00
Patricio Chilano Mateo
7454306920 8272526: Cleanup ThreadStateTransition class
Reviewed-by: dholmes, rehn, coleenp
2021-08-24 14:09:59 +00:00
Tom Rodriguez
ad92033fcc 8272736: [JVMCI] Add API for reading and writing JVMCI thread locals
Reviewed-by: kvn, dnsimon
2021-08-23 18:43:34 +00:00
Daniel D. Daugherty
fa36e33437 8271513: support JavaThreadIteratorWithHandle replacement by new ThreadsList::Iterator
Co-authored-by: Kim Barrett <kbarrett@openjdk.org>
Reviewed-by: kbarrett, dholmes, coleenp
2021-08-06 14:18:54 +00:00
Thomas Stuefe
eec64f5587 8256844: Make NMT late-initializable
Reviewed-by: coleenp, zgu
2021-08-04 12:19:02 +00:00
Daniel D. Daugherty
0a85236396 8193559: ugly DO_JAVA_THREADS macro should be replaced
Co-authored-by: Kim Barrett <kbarrett@openjdk.org>
Reviewed-by: eosterlund, ayang, kbarrett, dholmes
2021-08-02 16:01:27 +00:00
Jesper Wilhelmsson
1eeb1791ab Merge
Reviewed-by: jvernee
2021-07-21 00:24:17 +00:00
Jorn Vernee
845c31dc4b 8269240: java/foreign/stackwalk/TestAsyncStackWalk.java test failed with concurrent GC
Reviewed-by: vlivanov, dholmes
2021-07-20 13:10:42 +00:00
David Holmes
e35005d5ce 8268773: Improvements related to: Failed to start thread - pthread_create failed (EAGAIN)
Reviewed-by: stuefe, iklam
2021-07-16 02:49:40 +00:00
Yumin Qi
a4e5f08fef 8267281: Call prepare_for_dynamic_dumping for jcmd dynamic_dump
Reviewed-by: iklam, ccheung
2021-07-12 19:03:38 +00:00
David Holmes
390d1025ca 8269652: Factor out the common code for creating system j.l.Thread objects
Reviewed-by: coleenp, dcubed, kvn, xliu
2021-07-04 21:58:16 +00:00
David Holmes
4107dcf6ec 8269466: Factor out the common code for initializing and starting internal VM JavaThreads
Reviewed-by: sspitsyn, pchilanomate, dcubed, coleenp, kvn
2021-07-02 04:29:47 +00:00
Jesper Wilhelmsson
a29953d805 Merge 2021-06-27 23:51:05 +00:00
Dean Long
d9cb068f4b 8258746: illegal access to global field _jvmci_old_thread_counters by terminated thread causes crash
Reviewed-by: dholmes, kvn
2021-06-26 20:07:04 +00:00
David Holmes
08ee7ae672 8268855: Cleanup name handling in the Thread class and subclasses
Reviewed-by: lfoltan, coleenp
2021-06-24 23:58:32 +00:00
Patricio Chilano Mateo
2fd7943ec1 8256425: Obsolete Biased Locking in JDK 18
Reviewed-by: kvn, dholmes, dcubed, rrich
2021-06-24 18:54:41 +00:00
Guoxiong Li
cd678a383f 8268368: Adopt cast notation for JavaThread conversions
Reviewed-by: dholmes, stefank
2021-06-23 02:21:24 +00:00
Xin Liu
02c9bf087e 8268852: AsyncLogWriter should not overide is_Named_thread()
Reviewed-by: dholmes, ysuenaga
2021-06-16 23:54:21 +00:00
Xin Liu
41185d38f2 8229517: Support for optional asynchronous/buffered logging
Reviewed-by: ysuenaga, simonis, stuefe, phh, dholmes, ayang
2021-05-27 16:35:24 +00:00
Coleen Phillimore
c59484e715 8267653: Remove Mutex::_safepoint_check_sometimes
Reviewed-by: dholmes, pchilanomate
2021-05-26 19:07:53 +00:00
David Holmes
02f895c5f6 8252685: APIs that require JavaThread should take JavaThread arguments
Reviewed-by: coleenp, sspitsyn, kvn, iklam
2021-05-17 04:05:44 +00:00
Yumin Qi
2066f497b9 8266764: [REDO] JDK-8255493 Support for pre-generated java.lang.invoke classes in CDS dynamic archive
Reviewed-by: ccheung, iklam
2021-05-16 02:26:46 +00:00
Kim Barrett
be0a655208 8254598: StringDedupTable should use OopStorage
Co-authored-by: Kim Barrett <kbarrett@openjdk.org>
Co-authored-by: Zhengyu Gu <zgu@openjdk.org>
Reviewed-by: coleenp, iklam, tschatzl, ayang
2021-05-14 18:38: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
Yumin Qi
ac0287fd73 8266770: Clean pending exception before running dynamic CDS dump
Reviewed-by: ccheung, iklam
2021-05-11 16:57:40 +00:00
David Holmes
d2827994f8 8255566: Add size validation when parsing values from VersionProps
Reviewed-by: rehn, iklam
2021-05-04 22:24:41 +00:00
Patricio Chilano Mateo
42af7da94d 8265933: Move Java monitor related fields from class Thread to JavaThread
Reviewed-by: rehn, dcubed, coleenp, dholmes
2021-04-29 18:13:27 +00:00
Patricio Chilano Mateo
5634f206e5 8265932: Move safepoint related fields from class Thread to JavaThread
Reviewed-by: coleenp, dholmes
2021-04-27 16:53:25 +00:00
Vladimir Kozlov
694acedf18 8264805: Remove the experimental Ahead-of-Time Compiler
Reviewed-by: coleenp, erikj, stefank, iignatyev, dholmes, aph, shade, iklam, mchung, iveresov
2021-04-27 01:12:18 +00:00
Patricio Chilano Mateo
8e312297d8 8265327: Remove check_safepoint_and_suspend_for_native_trans()
Reviewed-by: dcubed, dholmes, rrich
2021-04-23 14:23:43 +00:00
Ioi Lam
95f0fd6c4d 8265696: Move CDS sources to src/hotspot/shared/cds
Reviewed-by: erikj, dholmes, stuefe
2021-04-23 04:13:02 +00:00
Robbin Ehn
86bd44fe80 8257831: Suspend with handshakes
Reviewed-by: dcubed, rrich, dholmes, pchilanomate, sspitsyn
2021-04-22 10:30:47 +00:00