Johan Sjölen
4f16161607
8309044: Replace NULL with nullptr, final sweep of hotspot code
...
Reviewed-by: stefank, dholmes, kvn, amitkumar
2023-05-31 09:19:47 +00:00
Roman Kennke
7f6358a8b5
8291555: Implement alternative fast-locking scheme
...
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Thomas Stuefe <stuefe@openjdk.org>
Reviewed-by: dcubed, stuefe, shade, dholmes, dlong
2023-05-08 17:51:39 +00:00
Coleen Phillimore
932be3542d
8298469: Obsolete legacy parallel class loading workaround for non-parallel-capable class loaders
...
Reviewed-by: dholmes, fparain
2023-03-17 18:56:05 +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
David Holmes
3cdbd878e6
8298241: Replace C-style casts with JavaThread::cast
...
Reviewed-by: coleenp, stefank, sspitsyn
2022-12-15 21:15:34 +00:00
Joakim Nordström
fc889577ea
8286707: JFR: Don't commit JFR internal jdk.JavaMonitorWait events
...
Reviewed-by: dholmes, egahlin
2022-10-19 10:34:17 +00:00
Aleksey Shipilev
c89556f6cd
8291633: Build failures with GCC 11, Alpine 3 due to incompatible casts from nullptr
...
Reviewed-by: stuefe, mbaesken, jiefu
2022-08-03 16:43:20 +00:00
Robbin Ehn
ac399e9777
8286957: Held monitor count
...
Reviewed-by: rpressler, eosterlund
2022-07-08 07:12:19 +00:00
Coleen Phillimore
270cf67e5f
8288752: Split thread implementation files
...
Reviewed-by: dholmes, rehn, iklam
2022-06-22 12:49:25 +00:00
Alexey Ivanov
e0d361cea9
8284191: Replace usages of 'a the' in hotspot and java.base
...
Reviewed-by: lancea, wetmore, naoto, iris, kevinw, xuelei
2022-05-24 11:25:13 +00:00
Thomas Stuefe
bdf8a2a205
8283326: Implement SafeFetch statically
...
Reviewed-by: dholmes, mdoerr, akozlov, lucy
2022-04-15 10:39:19 +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
Thomas Stuefe
83d67452da
8281450: Remove unnecessary operator new and delete from ObjectMonitor
...
Reviewed-by: dholmes
2022-02-08 14:43:45 +00:00
Patricio Chilano Mateo
62e72adfa7
8271293: Monitor class should use ThreadBlockInVMPreprocess
...
Reviewed-by: dholmes, dcubed
2021-08-05 19:16:14 +00:00
Coleen Phillimore
42968db173
8269293: ObjectMonitor thread id fields should be 64 bits.
...
Reviewed-by: mgronlun, dcubed
2021-06-24 19:34:17 +00:00
Coleen Phillimore
f3ba2690c5
8256306: ObjectMonitor::_contentions field should not be 'jint'
...
Reviewed-by: dholmes, stuefe, dcubed
2021-06-23 14:27:31 +00:00
Guoxiong Li
cd678a383f
8268368: Adopt cast notation for JavaThread conversions
...
Reviewed-by: dholmes, stefank
2021-06-23 02:21:24 +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
Daniel D. Daugherty
fe333431c8
8256304: should MonitorUsedDeflationThreshold be experimental or diagnostic
...
8256301: ObjectMonitor::is_busy() should return bool
Reviewed-by: coleenp, pchilanomate
2021-05-21 18:32:25 +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
Robbin Ehn
86bd44fe80
8257831: Suspend with handshakes
...
Reviewed-by: dcubed, rrich, dholmes, pchilanomate, sspitsyn
2021-04-22 10:30:47 +00:00
Patricio Chilano Mateo
2ad6f2d9bc
8263896: Make not_suspended parameter from ObjectMonitor::exit() have default value
...
Reviewed-by: rehn, dcubed, dholmes
2021-03-30 15:00:38 +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
Stefan Karlsson
a79f095697
8263721: Unify oop casting
...
Reviewed-by: kbarrett, coleenp
2021-03-24 10:28:38 +00:00
David Holmes
c6d74bd933
8262910: Cleanup THREAD/TRAPS/naming and typing issues in ObjectMonitor and related code
...
Reviewed-by: coleenp, pchilanomate, dcubed, cjplummer, sspitsyn
2021-03-10 22:33:56 +00:00
Anton Kozlov
0bc45625b0
8263068: Rename safefetch.hpp to safefetch.inline.hpp
...
Reviewed-by: stefank
2021-03-09 08:19:59 +00:00
Anton Kozlov
b955f85e03
8261075: Create stubRoutines.inline.hpp with SafeFetch implementation
...
Reviewed-by: dcubed, stuefe, stefank
2021-02-17 08:10:32 +00:00
Ioi Lam
ba38661504
8259882: Reduce the inclusion of perfData.hpp
...
Reviewed-by: redestad, coleenp
2021-01-22 04:20:41 +00:00
Markus Grönlund
502a5241e5
8257602: Introduce JFR Event Throttling and new jdk.ObjectAllocationSample event (enabled by default)
...
Co-authored-by: Jaroslav Bachorik <jbachorik@openjdk.org>
Reviewed-by: egahlin, jbachorik
2020-12-10 12:33:48 +00:00
Ioi Lam
02a0a027f4
8257563: Remove excessive include of klass.inline.hpp
...
Reviewed-by: dholmes, stuefe, stefank
2020-12-03 01:34:04 +00:00
Daniel D. Daugherty
1707d5ca3c
8238174: migrate ObjectMonitor::_owner field away from C++ volatile semantics
...
Reviewed-by: dholmes, mdoerr
2020-11-18 16:48:17 +00:00
Ioi Lam
2f06893a29
8252526: Remove excessive inclusion of jvmti.h and jvmtiExport.hpp
...
Reviewed-by: ihse, kbarrett
2020-11-12 01:45:27 +00:00
Daniel D. Daugherty
2e19026d45
8253064: monitor list simplifications and getting rid of TSM
...
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Reviewed-by: eosterlund, rehn, coleenp
2020-11-11 16:20:11 +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
Martin Doerr
dc3a0f5f88
8253183: Fragile memory barrier selection for some weak memory model platforms
...
Reviewed-by: dholmes, eosterlund, dcubed
2020-09-30 09:03:06 +00:00
Daniel D. Daugherty
d8921ed573
8247281: migrate ObjectMonitor::_object to OopStorage
...
Co-authored-by: Erik Österlund <erik.osterlund@oracle.com>
Co-authored-by: Daniel Daugherty <daniel.daugherty@oracle.com>
Reviewed-by: eosterlund, coleenp, dholmes, stefank, kbarrett, rkennke, sspitsyn
2020-09-21 22:12:07 +00:00
Daniel D. Daugherty
e7a1b9bf81
8252981: ObjectMonitor::object() cleanup changes extracted from JDK-8247281
...
Co-authored-by: Erik Österlund <erik.osterlund@oracle.com>
Co-authored-by: Daniel Daugherty <daniel.daugherty@oracle.com>
Reviewed-by: rehn, coleenp, eosterlund
2020-09-11 13:35:34 +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
Daniel D. Daugherty
f9339616e1
8252980: comment only changes extracted from JDK-8247281
...
Reviewed-by: iklam, dholmes
2020-09-09 23:35:17 +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
Daniel D. Daugherty
7436ef236e
8246476: remove AsyncDeflateIdleMonitors option and the safepoint based deflation mechanism
...
Reviewed-by: dholmes, pchilanomate, coleenp
2020-07-13 16:36:01 -04:00
Daniel D. Daugherty
563ce12127
8246359: clarify confusing comment in ObjectMonitor::EnterI()'s race with async deflation
...
Reviewed-by: cvarming, eosterlund, dholmes
2020-06-02 19:49:07 -04:00
Daniel D. Daugherty
00f223e22f
8153224: Monitor deflation prolong safepoints
...
Add support for AsyncDeflateIdleMonitors (default true); the async deflation work is performed by the ServiceThread.
Co-authored-by: Carsten Varming <varming@gmail.com>
Reviewed-by: dcubed, rehn, rkennke, cvarming, coleenp, acorn, dholmes, eosterlund
2020-06-01 23:37:14 -04:00
Daniel D. Daugherty
a7a82b0c79
8235795: replace monitor list mux{Acquire,Release}(&gListLock) with spin locks
...
Reviewed-by: dholmes, coleenp, rehn
2020-02-05 11:40:20 -05:00
Daniel D. Daugherty
8ff24c55ef
8236035: refactor ObjectMonitor::set_owner() and _owner field setting
...
Reviewed-by: dholmes, kbarrett, rehn
2020-02-05 11:39:52 -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
Daniel D. Daugherty
b10495d436
8230876: baseline cleanups from Async Monitor Deflation v2.0[789]
...
Reviewed-by: dholmes, kvn
2019-11-20 09:10:02 -05:00
David Holmes
697a87460d
8233549: Thread interrupted state must only be accessed when not in a safepoint-safe state
...
Reviewed-by: dcubed, sspitsyn
2019-11-14 22:36:40 -05:00
David Holmes
5bca86f9f4
8230424: Use platform independent code for Thread.interrupt support
...
8231094: os::sleep in assert message should be changed to JavaThread::sleep
Reviewed-by: rehn, dcubed
2019-09-17 19:09:37 -04:00