Erik Österlund
159465324f
8310644: Make panama memory segment close use async handshakes
...
Reviewed-by: jvernee, mcimadamore, pchilanomate
2023-11-29 12:40:21 +00:00
Tobias Holenstein
466ec300fc
8302736: Major performance regression in Math.log on aarch64
...
Reviewed-by: thartmann, dlong, aph
2023-05-24 07:29:25 +00:00
Johan Sjölen
71107f4648
8300651: Replace NULL with nullptr in share/runtime/
...
Reviewed-by: rehn, dholmes
2023-01-25 10:30:02 +00:00
Robbin Ehn
1b496064bf
8293922: Extend barrier-less Java thread transitions to native transitions
...
Reviewed-by: mdoerr, pchilanomate, dcubed
2022-09-20 08:41:39 +00:00
Coleen Phillimore
b206d2d149
8289006: Cleanup from thread.hpp split
...
Reviewed-by: dholmes, dcubed
2022-06-23 16:21:26 +00:00
Coleen Phillimore
270cf67e5f
8288752: Split thread implementation files
...
Reviewed-by: dholmes, rehn, iklam
2022-06-22 12:49:25 +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
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
Yi-Fan Tsai
b6935dfb86
8251505: Use of types in compiler shared code should be consistent.
...
Reviewed-by: phh
2022-02-03 19:34:28 +00:00
David Holmes
f35df5bfb5
8280422: thread_from_jni_environment can never return NULL
...
Reviewed-by: shade, kbarrett
2022-01-25 01:22:48 +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
Patricio Chilano Mateo
f55e68c929
8275950: Use only _thread_in_vm in ~ThreadBlockInVMPreprocess()
...
Reviewed-by: dholmes, dcubed
2021-11-01 15:27:39 +00:00
Aleksey Shipilev
ced79091f6
8275286: Check current thread when calling JRT methods that expect it
...
Reviewed-by: zgu, coleenp, dholmes
2021-10-15 11:15:49 +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
Patricio Chilano Mateo
62e72adfa7
8271293: Monitor class should use ThreadBlockInVMPreprocess
...
Reviewed-by: dholmes, dcubed
2021-08-05 19:16:14 +00:00
Jesper Wilhelmsson
9935440ede
Merge
2021-07-23 01:41:14 +00:00
Patricio Chilano Mateo
e7f9009315
8270085: Suspend during block transition may deadlock if lock held
...
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Patricio Chilano Mateo <pchilanomate@openjdk.org>
Reviewed-by: dcubed, dholmes, coleenp
2021-07-22 14:30:19 +00:00
Guoxiong Li
cd678a383f
8268368: Adopt cast notation for JavaThread conversions
...
Reviewed-by: dholmes, stefank
2021-06-23 02:21:24 +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
Robbin Ehn
97ec5ad0a6
8265753: Remove manual JavaThread transitions to blocked
...
Reviewed-by: dcubed, rrich, dholmes, pchilanomate
2021-05-28 07:30:14 +00:00
Anton Kozlov
b92c5a44f2
8265292: [macos_aarch64] java/foreign/TestDowncall.java crashes with SIGBUS
...
8265183: [macos_aarch64] java/foreign/TestIntrinsics.java crashes with SIGBUS
8265182: [macos_aarch64] java/foreign/TestUpcall.java crashes with SIGBUS
Reviewed-by: dholmes
2021-05-18 18:54:16 +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
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
David Holmes
79bff21b43
8263709: Cleanup THREAD/TRAPS/CHECK usage in JRT_ENTRY routines
...
Reviewed-by: coleenp, hseigel, iklam, kvn
2021-04-15 02:20:31 +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
Patricio Chilano Mateo
d6b5e1809b
8263191: Consolidate ThreadInVMfromJavaNoAsyncException and ThreadBlockInVMWithDeadlockCheck with existing wrappers
...
Reviewed-by: coleenp, dholmes, dcubed
2021-03-15 14:12:21 +00:00
Harold Seigel
38a1201746
8258912: Remove JVM options CountJNICalls and CountJVMCalls
...
Reviewed-by: coleenp, lfoltan, shade
2021-01-14 15:04:31 +00:00
Coleen Phillimore
4c75d14aba
8259374: Make ThreadInVMfromNative have ResetNoHandleMark
...
Reviewed-by: dcubed, pchilanomate
2021-01-12 13:07:21 +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
Patricio Chilano Mateo
f167a71f1d
8254264: Remove redundant cross_modify_fence()
...
Reviewed-by: rehn, dholmes, dcubed
2020-10-20 15:07:36 +00:00
Patricio Chilano Mateo
55d760d416
8254263: Remove special_runtime_exit_condition() check from ~ThreadInVMForHandshake()
...
Reviewed-by: rrich, dholmes, dcubed, rehn
2020-10-14 22:15:57 +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
Robbin Ehn
6bddeb709d
8238761: Asynchronous handshakes
...
Reviewed-by: pchilanomate, dcubed, dholmes, coleenp, sspitsyn
2020-09-29 08:50:54 +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
Erik Österlund
e29c3f6123
8252661: Change SafepointMechanism terminology to talk less about "blocking"
...
Reviewed-by: rehn, shade, dholmes
2020-09-07 13:59:24 +00:00
Coleen Phillimore
35421399a4
8235765: Use of the long type should be avoided in shared code
...
Changed some long declarations to uint64_t/int64_t or unsigned int, depending on context.
Reviewed-by: lfoltan, kvn, dholmes
2020-08-17 10:08:36 -04:00
Jie He
913a0ff0a8
8241419: Remove unused InterfaceSupport::_number_of_calls
...
Reviewed-by: dholmes
2020-03-26 14:46:50 +08:00
Tom Rodriguez
4a41f86a39
8231586: enlarge encoding space for OopMapValue offsets
...
Reviewed-by: dlong
2019-10-09 16:35:44 -07:00
Robbin Ehn
ffa889731a
8228758: assert(_no_handle_mark_nesting == 0) failed: allocating handle inside NoHandleMark
...
Reviewed-by: coleenp, dcubed, dholmes
2019-09-09 09:05:30 +02:00
Coleen Phillimore
da18495f38
8230003: Make Monitor inherit from Mutex
...
Reverse inheritance that makes more sense.
Reviewed-by: dholmes, rehn, pchilanomate
2019-08-22 09:51:36 -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
Coleen Phillimore
ab9aab646b
8228630: Remove always true parameter to NoSafepointVerifier
...
Also remove NoGCVerifier since NoSafepointVerifier covers GC checking when not already at a safepoint and is a stronger check.
Reviewed-by: kbarrett, dholmes
2019-07-31 06:54:50 -04:00
Richard Reingruber
4e38fe2957
8223572: ~ThreadInVMForHandshake() should call handle_special_runtime_exit_condition()
...
Reviewed-by: dcubed, rehn, dholmes
2019-05-15 12:30:02 +02:00
Coleen Phillimore
cebdd53c0f
8222297: IRT_ENTRY/IRT_LEAF etc are the same as JRT
...
Replace IRT entry points with JRT.
Reviewed-by: lfoltan, dcubed
2019-04-12 09:30:17 -04:00
Coleen Phillimore
0314bac167
8222231: Clean up interfaceSupport.inline.hpp duplicated code
...
Reviewed-by: dholmes, pchilanomate
2019-04-10 17:31:31 -04:00
Ioi Lam
22484b8c35
8221698: Remove redundant includes from popular header files
...
Removed histogram.hpp classLoader.hpp utf8.hpp moduleEntry.hpp packageEntry.hpp
Reviewed-by: coleenp, stuefe
2019-03-30 08:26:20 -07:00
Robbin Ehn
76cdc8016f
8220351: Cross-modifying code
...
Reviewed-by: rrich, mdoerr, dholmes, eosterlund
2019-03-28 11:08:23 +01:00
Robbin Ehn
bec8431683
8203469: Faster safepoints
...
Reviewed-by: dcubed, pchilanomate, dholmes, acorn, coleenp, eosterlund
2019-02-15 14:15:10 +01:00
Patricio Chilano Mateo
c94cdddbdd
8210832: Remove sneaky locking in class Monitor
...
Removed sneaky locking and simplified vm monitors implementation
Co-authored-by: David Holmes <david.holmes@oracle.com>
Reviewed-by: rehn, dcubed, pliden, dholmes, coleenp
2019-02-05 15:12:13 -05:00